Apply profile-specific settings last in Gradle build
-if (!hasProperty('buildProfile')) ext.buildProfile = 'default'
-apply from: "gradle/profile-${buildProfile}.gradle"
-
-macroPreprocessorSettings {
- inPlace = false
- remove = false
- java {
- enable = true
- inPlace = false
- remove = false
- }
- resources {
- enable = false
- inPlace = false
- remove = false
- }
- vars = PREPROCESSOR_DEFINES
-}
-
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
compileOnly files('libs/jre-stubs.jar')
@@ -36,3 +17,22 @@ java {
apply from: 'gradle/buildhelper.gradle'
apply from: 'gradle/maven.gradle'
apply from: 'gradle/checkstyle.gradle'
+
+if (!hasProperty('buildProfile')) ext.buildProfile = 'default'
+apply from: "gradle/profile-${buildProfile}.gradle"
+
+macroPreprocessorSettings {
+ inPlace = false
+ remove = false
+ java {
+ enable = true
+ inPlace = false
+ remove = false
+ }
+ resources {
+ enable = false
+ inPlace = false
+ remove = false
+ }
+ vars = PREPROCESSOR_DEFINES
+}
