We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be07ef9 commit 389ca61Copy full SHA for 389ca61
gradle/convention.gradle
@@ -1,6 +1,3 @@
1
-// GRADLE-2087 workaround, perform after java plugin
2
-status = project.hasProperty('preferredStatus') ? project.preferredStatus : (version.contains('SNAPSHOT') ? 'snapshot' : 'release')
3
-
4
subprojects {
5
if (!subprojects.empty) { // is a container
6
return
@@ -23,8 +20,7 @@ subprojects {
23
20
sourceCompatibility = JavaVersion.VERSION_1_6
24
21
targetCompatibility = JavaVersion.VERSION_1_6
25
22
26
- // Restore status after Java plugin
27
- status = rootProject.status
+ status = project.hasProperty('preferredStatus') ? project.preferredStatus : (version.contains('SNAPSHOT') ? 'snapshot' : 'release')
28
29
task sourcesJar(type: Jar, dependsOn: classes) {
30
from sourceSets.main.allSource
0 commit comments