diff options
author | Kengo TODA <skypencil@gmail.com> | 2021-09-11 19:27:25 +0800 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-10-08 20:03:10 +0000 |
commit | d0b6b0f341c297ad06a96508d13597b00dd214a6 (patch) | |
tree | 2b3e431224b063cf4d7079ff63e4dcf3d0a70087 /server/sonar-db-dao/build.gradle | |
parent | 6847a3b6f9b05ac53c32b628a5875f70ca0cfa15 (diff) | |
download | sonarqube-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.gradle | 6 |
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 } |