Skip to content

Commit dab0680

Browse files
committed
OP-23785: Bugfix for all dependency version updated with 1.33.3 spinnaker version
1 parent 9de18e0 commit dab0680

File tree

4 files changed

+19
-13
lines changed

4 files changed

+19
-13
lines changed

front50/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ subprojects {
3939
}
4040
}
4141
}
42+
tasks.withType(JavaCompile).configureEach {
43+
options.compilerArgs << "-parameters"
44+
javaCompiler = javaToolchains.compilerFor {
45+
languageVersion = JavaLanguageVersion.of(17)
46+
}
47+
}
4248
}
4349

4450
String normalizedVersion() {

front50/custom-stage-front50/custom-stage-front50.gradle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies {
4141
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
4242
compileOnly "io.spinnaker.kork:kork-plugins-api:${korkVersion}"
4343
compileOnly "io.spinnaker.kork:kork-web:${korkVersion}"
44-
compileOnly group: 'io.spinnaker.front50', name: 'front50-api', version: '${front50Version}'
44+
compileOnly "io.spinnaker.front50:front50-api:${front50Version}"
4545
kapt "org.pf4j:pf4j:${pf4jVersion}"
4646

4747
compileOnly group: 'com.squareup.retrofit', name: 'retrofit', version: '1.9.0'
@@ -50,9 +50,9 @@ dependencies {
5050
implementation group: 'com.jcraft', name: 'jsch', version: '0.1.55'
5151

5252

53-
testRuntime "org.junit.jupiter:junit-jupiter-engine:5.4.0"
54-
testRuntime "org.junit.platform:junit-platform-launcher:1.4.0"
55-
testRuntime "org.junit.platform:junit-platform-commons:1.5.2"
53+
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.4.0"
54+
testRuntimeOnly "org.junit.platform:junit-platform-launcher:1.4.0"
55+
testRuntimeOnly "org.junit.platform:junit-platform-commons:1.5.2"
5656
implementation("org.apache.commons:commons-lang3:3.0")
5757

5858
implementation 'com.google.code.gson:gson:2.8.8'
@@ -73,9 +73,6 @@ jar {
7373
configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) }
7474
}
7575
}
76-
javaCompiler = javaToolchains.compilerFor {
77-
languageVersion = JavaLanguageVersion.of(17)
78-
}
7976
tasks.withType(Test) {
8077
useJUnitPlatform()
8178
}

orca/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ subprojects {
3939
}
4040
}
4141
}
42+
tasks.withType(JavaCompile).configureEach {
43+
options.compilerArgs << "-parameters"
44+
javaCompiler = javaToolchains.compilerFor {
45+
languageVersion = JavaLanguageVersion.of(17)
46+
}
47+
}
4248
}
4349

4450
String normalizedVersion() {

orca/custom-policy-orca/custom-policy-orca.gradle

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ dependencies {
5353
compileOnly group: 'com.jakewharton.retrofit', name: 'retrofit1-okhttp3-client', version: '1.1.0'
5454
implementation group: 'com.jcraft', name: 'jsch', version: '0.1.55'
5555

56-
testRuntime "org.junit.jupiter:junit-jupiter-engine:5.4.0"
57-
testRuntime "org.junit.platform:junit-platform-launcher:1.4.0"
58-
testRuntime "org.junit.platform:junit-platform-commons:1.5.2"
56+
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.4.0"
57+
testRuntimeOnly "org.junit.platform:junit-platform-launcher:1.4.0"
58+
testRuntimeOnly "org.junit.platform:junit-platform-commons:1.5.2"
5959
}
6060

6161
configurations.all {
@@ -65,9 +65,6 @@ configurations.all {
6565
}
6666
}
6767
}
68-
javaCompiler = javaToolchains.compilerFor {
69-
languageVersion = JavaLanguageVersion.of(17)
70-
}
7168
tasks.withType(Test) {
7269
useJUnitPlatform()
7370
}

0 commit comments

Comments
 (0)