File tree Expand file tree Collapse file tree
build-logic/conventions/src/main/kotlin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,10 +43,6 @@ repositories {
4343 maven(" https://maven.terraformersmc.com/" )
4444}
4545
46- sourceSets.main {
47- resources.srcDir(" src/generated/resources" )
48- }
49-
50- tasks.named(" processResources" ) {
51- dependsOn(" :common:${project.name} :stonecutterGenerate" )
46+ tasks.processResources {
47+ dependsOn(tasks.named(" stonecutterGenerate" ))
5248}
Original file line number Diff line number Diff line change @@ -11,10 +11,9 @@ val commonResources: Configuration by configurations.creating {
1111}
1212
1313dependencies {
14- val commonPath = commonNode.hierarchy.toString()
15- compileOnly(project(path = commonPath))
16- commonJava(project(path = commonPath, configuration = " commonJava" ))
17- commonResources(project(path = commonPath, configuration = " commonResources" ))
14+ compileOnly(commonNode.project)
15+ commonJava(project(path = commonNode.project.path, configuration = " commonJava" ))
16+ commonResources(project(path = commonNode.project.path, configuration = " commonResources" ))
1817}
1918
2019tasks {
You can’t perform that action at this time.
0 commit comments