aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/build.gradle
diff options
context:
space:
mode:
authorKengo TODA <skypencil@gmail.com>2021-09-11 19:27:25 +0800
committersonartech <sonartech@sonarsource.com>2021-10-08 20:03:10 +0000
commitd0b6b0f341c297ad06a96508d13597b00dd214a6 (patch)
tree2b3e431224b063cf4d7079ff63e4dcf3d0a70087 /server/sonar-db-dao/build.gradle
parent6847a3b6f9b05ac53c32b628a5875f70ca0cfa15 (diff)
downloadsonarqube-d0b6b0f341c297ad06a96508d13597b00dd214a6.tar.gz
sonarqube-d0b6b0f341c297ad06a96508d13597b00dd214a6.zip
SONAR-15469 Stop using deprecated Gradle API in SonarQube
Diffstat (limited to 'server/sonar-db-dao/build.gradle')
-rw-r--r--server/sonar-db-dao/build.gradle6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-db-dao/build.gradle b/server/sonar-db-dao/build.gradle
index e4f6260f010..cb317501714 100644
--- a/server/sonar-db-dao/build.gradle
+++ b/server/sonar-db-dao/build.gradle
@@ -50,13 +50,13 @@ test {
}
task dumpSchema(type:JavaExec) {
- main = 'org.sonar.db.dump.DumpSQSchema'
+ mainClass = 'org.sonar.db.dump.DumpSQSchema'
classpath = sourceSets.test.runtimeClasspath
}
tasks.check.dependsOn dumpSchema
task createDB(type:JavaExec) {
- main = 'org.sonar.db.createdb.CreateDb'
+ mainClass = 'org.sonar.db.createdb.CreateDb'
classpath = sourceSets.test.runtimeClasspath
systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl')
if (!project.version.endsWith("-SNAPSHOT")) {
@@ -65,7 +65,7 @@ task createDB(type:JavaExec) {
}
task testJar(type: Jar) {
- classifier = 'tests'
+ archiveClassifier = 'tests'
from sourceSets.test.output
}