Skip to content

Commit

Permalink
Fix Gradle allproject/subprojects confusion (fixes #349) (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger authored Apr 12, 2022
1 parent 96fe239 commit ce4c730
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ allprojects {
group = 'ch.vorburger.minecraft.storeys'
version = '1.0.0-SNAPSHOT'
description = 'Make your own stories in, with and for Minecraft!'
}

subprojects {
sourceCompatibility = 1.8
targetCompatibility = 1.8

apply plugin: 'checkstyle'
apply plugin: 'java-library'
Expand All @@ -39,6 +34,11 @@ subprojects {
// TODO apply same error-prone configuration as I've done in OpenDaylight's infrautils.parent
// options.compilerArgs += [ '-Xlint:deprecation', '-Xep:FallThrough:ERROR', '-Xep:MutableConstantField:ERROR', '-Xep:DefaultCharset:ERROR' ]
}
}

subprojects {
sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories {
jcenter()
Expand Down

0 comments on commit ce4c730

Please sign in to comment.