Updates backend dependencies and fixes amber random DNA implementation

This commit is contained in:
2026-06-09 21:18:11 -04:00
parent 51191fa245
commit 5786bfec65
13 changed files with 139 additions and 57 deletions
+3 -4
View File
@@ -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"))