diff --git a/gradle/codecov.gradle b/gradle/codecov.gradle index 43ae607..87f8e1c 100644 --- a/gradle/codecov.gradle +++ b/gradle/codecov.gradle @@ -29,9 +29,9 @@ task codeCoverageReport(type: JacocoReport) { executionData.setFrom(execData) reports { - xml.required.set true - xml.outputLocation.set file("${buildDir}/reports/jacoco/report.xml") - html.required.set true - csv.required.set false + xml.required = true + xml.outputLocation = file("${buildDir}/reports/jacoco/report.xml") + html.required = true + csv.required = false } } diff --git a/gradle/promote.gradle b/gradle/promote.gradle index eae9152..d910985 100644 --- a/gradle/promote.gradle +++ b/gradle/promote.gradle @@ -56,8 +56,8 @@ nexusPublishing { username = System.getenv('NEXUS_USERNAME') password = System.getenv('NEXUS_PASSWORD') - nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) - snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")) + nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) + snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) } } -} \ No newline at end of file +}