Skip to content

Commit 82c5334

Browse files
committed
Fix Gradle warnings
1 parent 42eb052 commit 82c5334

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ publishing {
9292
}
9393
repositories {
9494
maven {
95-
url "https://oss.sonatype.org/service/local/staging/deploy/maven2"
95+
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2"
9696
credentials {
9797
username = project.hasProperty('nexusUsername') ? project.property('nexusUsername') : System.getenv('NEXUS_USERNAME')
9898
password = project.hasProperty('nexusPassword') ? project.property('nexusPassword') : System.getenv('NEXUS_PASSWORD')
@@ -139,7 +139,9 @@ jmh {
139139
jvmArgs = ["-Ddataset.directory=" + projectDir + "/src/test/datasets"]
140140
}
141141

142-
tasks['jmh'].dependsOn downloadAndVerifyRcv1
142+
tasks.named('jmh').configure {
143+
dependsOn downloadAndVerifyRcv1
144+
}
143145

144146
dependencies {
145147
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: 'latest.release'

0 commit comments

Comments
 (0)