Updates backend dependencies and fixes amber random DNA implementation
This commit is contained in:
@@ -10,5 +10,5 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("dev.kikugie:stonecutter:0.7.11")
|
||||
implementation("dev.kikugie:stonecutter:0.9.5")
|
||||
}
|
||||
@@ -10,10 +10,9 @@ fun Project.prop(key: String): String? = findProperty(key)?.toString()
|
||||
val Project.stonecutterBuild get() = extensions.getByType<StonecutterBuildExtension>()
|
||||
val Project.stonecutterController get() = extensions.getByType<StonecutterControllerExtension>()
|
||||
|
||||
val Project.common
|
||||
get() = requireNotNull(stonecutterBuild.node.sibling("common")) {
|
||||
"No common project for $project"
|
||||
}
|
||||
val Project.common: Project
|
||||
get() = rootProject.project(":common:${stonecutterBuild.current.version}")
|
||||
|
||||
val Project.commonProject get() = rootProject.project(stonecutterBuild.current.project)
|
||||
val Project.commonMod get() = commonProject.mod
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ val commonResources: Configuration by configurations.creating {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
val commonPath = common.hierarchy.toString()
|
||||
val commonPath = common.path
|
||||
compileOnly(project(path = commonPath))
|
||||
commonJava(project(path = commonPath, configuration = "commonJava"))
|
||||
commonResources(project(path = commonPath, configuration = "commonResources"))
|
||||
|
||||
Reference in New Issue
Block a user