@@ -26,18 +26,20 @@ repositories { mavenLocal(); mavenCentral(); gradlePluginPortal() }
2626dependencies {
2727 implementation ' ru.vyarus:gradle-pom-plugin:3.0.0'
2828
29- testImplementation(' org.spockframework:spock-core:2.3 -groovy-3.0' ) {
29+ testImplementation(' org.spockframework:spock-core:2.4-M6 -groovy-3.0' ) {
3030 exclude group : ' org.codehaus.groovy'
3131 }
3232 testImplementation ' com.gradle.publish:plugin-publish-plugin:1.3.1'
33+
34+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
3335}
3436
3537group = ' ru.vyarus'
3638description = ' Gradle Java-lib plugin'
3739
3840github {
39- user ' xvik'
40- license ' MIT'
41+ user = ' xvik'
42+ license = ' MIT'
4143}
4244
4345maven. pom {
@@ -53,14 +55,16 @@ maven.pom {
5355nexusPublishing {
5456 repositories {
5557 sonatype {
58+ nexusUrl = uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" )
59+ snapshotRepositoryUrl = uri(" https://central.sonatype.com/repository/maven-snapshots/" )
5660 username = findProperty(' sonatypeUser' )
5761 password = findProperty(' sonatypePassword' )
5862 }
5963 }
6064}
6165
6266// skip signing for jitpack (snapshots)
63- tasks. withType(Sign ) { onlyIf { ! System . getenv(' JITPACK' ) }}
67+ tasks. withType(Sign ). configureEach { onlyIf { ! System . getenv(' JITPACK' ) } }
6468
6569// Required signing properties for release: signing.keyId, signing.password and signing.secretKeyRingFile
6670// (https://docs.gradle.org/current/userguide/signing_plugin.html#sec:signatory_credentials)
@@ -100,9 +104,9 @@ test {
100104 useJUnitPlatform()
101105 testLogging {
102106 events ' skipped' , ' failed'
103- exceptionFormat ' full'
107+ exceptionFormat = ' full'
104108 }
105- maxHeapSize = ' 512m '
109+ maxHeapSize = ' 2g '
106110 doLast {
107111 sleep(1000 )
108112 }
0 commit comments