Skip to content

Commit

Permalink
build: Fix build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed May 19, 2024
1 parent 7f4132b commit a50f068
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ minecraft {
}
}

sourceSets.main.resources.srcDir('src/generated/resources')

dependencies {
compileOnly "org.spongepowered:mixin:$mixin_version"
}
Expand All @@ -33,17 +31,22 @@ configurations {
canBeResolved = false
canBeConsumed = true
}
commonGeneratedResources {
canBeResolved = false
canBeConsumed = true
}
}

artifacts {
commonJava sourceSets.main.java.sourceDirectories.singleFile
commonResources sourceSets.main.resources.sourceDirectories.singleFile
commonGeneratedResources sourceSets.generated.resources.sourceDirectories.singleFile
}

sourceSets {
main {
java {
srcDir 'src/shell/java'
generated {
resources {
srcDir 'src/generated/resources'
}
}
}

0 comments on commit a50f068

Please sign in to comment.