File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ base.archivesName.set(mod.id)
1818
1919architectury.common(stonecutter.tree.branches.mapNotNull {
2020 if (stonecutter.current.project !in it) null
21- else it.prop(" loom.platform" )
21+ else it.project. prop(" loom.platform" )
2222})
2323
2424repositories {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ val loader = property("loom.platform")!!
1414val minecraftVersion: String = stonecutter.current.version
1515val common: Project = requireNotNull(stonecutter.node.sibling(" " )) {
1616 " No common project for $project "
17- }
17+ }.project
1818
1919val ci = System .getenv(" CI" )?.toBoolean() ? : false
2020val release = System .getenv(" RELEASE" )?.toBoolean() ? : false
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ val loader = prop("loom.platform")!!
1212val minecraftVersion: String = stonecutter.current.version
1313val common: Project = requireNotNull(stonecutter.node.sibling(" " )) {
1414 " No common project for $project "
15- }
15+ }.project
1616
1717val ci = System .getenv(" CI" )?.toBoolean() ? : false
1818val release = System .getenv(" RELEASE" )?.toBoolean() ? : false
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ pluginManagement {
1010}
1111
1212plugins {
13- id(" dev.kikugie.stonecutter" ) version " 0.5.1 "
13+ id(" dev.kikugie.stonecutter" ) version " 0.6-alpha.9 "
1414}
1515
1616stonecutter {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ for (it in stonecutter.tree.nodes) {
4949 if (it.metadata != stonecutter.current || it.branch.id.isEmpty()) continue
5050 val types = listOf (" Client" , " Server" )
5151 val loader = it.branch.id.uppercaseFirstChar()
52- for (type in types) it.tasks.register(" runActive$type$loader " ) {
52+ for (type in types) it.project. tasks.register(" runActive$type$loader " ) {
5353 group = " project"
5454 dependsOn(" run$type " )
5555 }
You can’t perform that action at this time.
0 commit comments