Skip to content

Commit ce67612

Browse files
authored
Merge pull request #57 from codeclimate/upgrade-5.14.0.18788
Channel for version 5.14
2 parents 4286020 + 71ff284 commit ce67612

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ build.dependsOn(infra)
3333
test.dependsOn(infra)
3434

3535
dependencies {
36-
compile("com.github.codeclimate:codeclimate-ss-analyzer-wrapper:master-SNAPSHOT")
36+
compile("com.github.codeclimate:codeclimate-ss-analyzer-wrapper:channel-sonar-5-14-SNAPSHOT")
3737

3838
// Plugins
39-
compile("org.sonarsource.java:sonar-java-plugin:4.14.0.11784")
39+
compile("org.sonarsource.java:sonar-java-plugin:5.14.0.18788")
4040

4141
testCompile("org.assertj:assertj-core:2.8.0")
4242
testCompile("org.skyscreamer:jsonassert:1.5.0")
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"enabled": true,
3+
"config": {
4+
"sonar.java.source": "11"
5+
}
6+
}

src/test/java/integration/JavaSourceVersion.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@ public void specify_java_source_version_through_config() throws Exception {
1111
Shell.Process process = Shell.execute("build/codeclimate-sonar fixtures/java_source_version fixtures/java_source_version/config.json");
1212
assertThat(process.stderr).contains("Configured Java source version (sonar.java.source): 6");
1313
}
14+
15+
@Test
16+
public void specify_java_11_source_version_through_config() throws Exception {
17+
Shell.Process process = Shell.execute("build/codeclimate-sonar fixtures/java_source_version fixtures/java_source_version/config_11.json");
18+
assertThat(process.stderr).contains("Configured Java source version (sonar.java.source): 11");
19+
}
1420
}

0 commit comments

Comments
 (0)