@@ -2,7 +2,7 @@ plugins {
22 id " idea"
33 id " jacoco"
44 id " maven-publish"
5- id " org.jetbrains.kotlin.jvm" version " 1.9.22 "
5+ id " org.jetbrains.kotlin.jvm" version " 1.9.25 "
66 id " org.jlleitschuh.gradle.ktlint" version " 12.1.1"
77}
88
@@ -51,6 +51,10 @@ test {
5151 useJUnitPlatform()
5252 systemProperty " skipOn" , findProperty(" skipOn" )
5353
54+ testLogging {
55+ showStandardStreams = true
56+ }
57+
5458 doFirst {
5559 jvmArgs " --add-opens" ,
5660 " java.base/java.lang=ALL-UNNAMED" ,
@@ -74,6 +78,7 @@ publishing {
7478 pom {
7579 name = " skip-method"
7680 description = " Skip method in test"
81+ url = " https://github.com/Romanow/skip-method/"
7782 licenses {
7883 license {
7984 name = " The MIT License"
@@ -82,22 +87,39 @@ publishing {
8287 }
8388 developers {
8489 developer {
85- name = " Romanov Alex"
86- email = " romanowalex@mail.ru"
90+ id = " Romanow"
91+ name = " Romanov Alexey"
92+ email = " romanow.tech@gmail.com"
8793 }
8894 }
8995 scm {
9096 url = " https://github.com/Romanow/skip-method/"
97+ connection = " scm:git:https://github.com/Romanow/skip-method.git"
98+ developerConnection = " scm:git:ssh://github.com/Romanow/skip-method.git"
9199 }
92100 }
93101 }
94102 }
95103 repositories {
96104 maven {
97- url = uri(" https://maven.pkg.github.com/Romanow/skip-method" )
98- credentials {
99- username = System . getenv(" GITHUB_USER" )
100- password = System . getenv(" GITHUB_TOKEN" )
105+ url = " build/staging-deploy"
106+ }
107+ }
108+ }
109+
110+ jreleaser {
111+ signing {
112+ active = " ALWAYS"
113+ armored = true
114+ }
115+ deploy {
116+ maven {
117+ mavenCentral {
118+ sonatype {
119+ active = " ALWAYS"
120+ url = " https://central.sonatype.com/api/v1/publisher"
121+ stagingRepository(" build/staging-deploy" )
122+ }
101123 }
102124 }
103125 }
0 commit comments