configurations {
- testCompile.extendsFrom(compileOnly)
+ testImplementation.extendsFrom(compileOnly)
}
configureCompileJavaToVersion 8
)
}
into('META-INF/lib') {
- from configurations.compile
+ from configurations.compileClasspath
}
}
description = 'SonarQube :: Authentication :: Bitbucket'
configurations {
- testCompile.extendsFrom compileOnly
+ testImplementation.extendsFrom compileOnly
}
dependencies {
description = 'SonarQube :: Authentication :: Common'
configurations {
- testCompile.extendsFrom compileOnly
+ testImplementation.extendsFrom compileOnly
}
dependencies {
description = 'SonarQube :: Authentication :: GitHub'
configurations {
- testCompile.extendsFrom compileOnly
+ testImplementation.extendsFrom compileOnly
}
dependencies {
description = 'SonarQube :: Authentication :: GitLab'
configurations {
- testCompile.extendsFrom compileOnly
+ testImplementation.extendsFrom compileOnly
}
dependencies {
description = 'SonarQube :: Authentication :: LDAP'
configurations {
- testCompile.extendsFrom compileOnly
+ testImplementation.extendsFrom compileOnly
}
dependencies {
description = 'SonarQube :: Authentication :: SAML'
configurations {
- testCompile.extendsFrom compileOnly
+ testImplementation.extendsFrom compileOnly
}
ext {
}
configurations {
- testCompile.extendsFrom compileOnly
+ testImplementation.extendsFrom compileOnly
}
dependencies {
finalizedBy verifyElasticSearchDownload
}
-task zip(type: Zip, dependsOn: [configurations.compile, downloadElasticSearch, verifyElasticSearchDownload]) {
+task zip(type: Zip, dependsOn: [configurations.compileClasspath, downloadElasticSearch, verifyElasticSearchDownload]) {
duplicatesStrategy DuplicatesStrategy.EXCLUDE
def archiveDir = "sonarqube-$project.version"
testCompile project(':sonar-plugin-api-impl')
}
-sourceSets {
+configurations {
// Make the compileOnly dependencies available when compiling/running tests
- test.compileClasspath += configurations.compileOnly + configurations.shadow
- test.runtimeClasspath += configurations.compileOnly + configurations.shadow
+ testImplementation.extendsFrom compileOnly
}
def on3Digits(version) {
}
shadowJar {
- configurations = [project.configurations.default]
+ configurations = [project.configurations.runtimeClasspath]
minimize {
exclude(project(':sonar-check-api'))
}
}
configurations {
- testCompile.extendsFrom(compileOnly)
+ testImplementation.extendsFrom(compileOnly)
}
dependencies {
configureCompileJavaToVersion 8
configurations {
- testCompile.extendsFrom(compileOnly)
+ testImplementation.extendsFrom(compileOnly)
}
dependencies {