Groovy Documentation

org.gradle.api.plugins.sonar.model
[Groovy] Class SonarJavaSettings

java.lang.Object
  org.gradle.api.plugins.sonar.model.SonarJavaSettings

class SonarJavaSettings
extends java.lang.Object

Java-related configuration options for the project to be analyzed.


Property Summary
java.lang.String sourceCompatibility

The source compatibility of the Java code.

java.lang.String targetCompatibility

The target compatibility of the Java code.

 
Method Summary
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

sourceCompatibility

@SonarProperty("sonar.java.source")
java.lang.String sourceCompatibility
The source compatibility of the Java code. Defaults to project.sourceCompatibility.


targetCompatibility

@SonarProperty("sonar.java.target")
java.lang.String targetCompatibility
The target compatibility of the Java code. Defaults to project.targetCompatibility.


 

Groovy Documentation