@@ -57,11 +57,13 @@ afterEvaluate {
5757 description.set(
5858 " Android (AAR) wrapper for qs-kotlin — query string encoding/decoding ported from qs (JS)."
5959 )
60- url.set(" https://github.com/techouse/qs-kotlin" )
60+ url.set(" https://techouse.github.io/qs-kotlin/" )
61+ inceptionYear.set(" 2025" )
6162 licenses {
6263 license {
63- name.set(" BSD-3-Clause License" )
64- url.set(" https://opensource.org/license/bsd-3-clause" )
64+ name.set(" BSD-3-Clause" )
65+ url.set(" https://github.com/techouse/qs-kotlin/blob/main/LICENSE" )
66+ distribution.set(" repo" )
6567 }
6668 }
6769 scm {
@@ -70,25 +72,49 @@ afterEvaluate {
7072 developerConnection.set(
7173 " scm:git:ssh://[email protected] /techouse/qs-kotlin.git" 7274 )
75+ tag.set(" HEAD" )
76+ }
77+ issueManagement {
78+ system.set(" GitHub Issues" )
79+ url.set(" https://github.com/techouse/qs-kotlin/issues" )
80+ }
81+ ciManagement {
82+ system.set(" GitHub Actions" )
83+ url.set(" https://github.com/techouse/qs-kotlin/actions" )
7384 }
7485 developers {
7586 developer {
7687 id.set(" techouse" )
7788 name.set(" Klemen Tusar" )
78897990 url.set(" https://github.com/techouse" )
91+ roles.set(listOf (" Lead" , " Maintainer" ))
92+ timezone.set(" Europe/London" )
93+ properties.put(" twitter" , " https://x.com/nextk2" )
94+ properties.put(" linkedin" , " https://www.linkedin.com/in/techouse/" )
95+ properties.put(" sponsor" , " https://github.com/sponsors/techouse" )
96+ properties.put(" paypal" , " https://paypal.me/ktusar" )
8097 }
8198 }
99+ properties.put(
100+ " changelogUrl" ,
101+ " https://github.com/techouse/qs_codec/blob/master/CHANGELOG.md" ,
102+ )
82103 }
83104 }
84105 }
85106 }
86107
87108 signing {
109+ val hasKey = providers.gradleProperty(" signingInMemoryKey" ).isPresent
110+ val isSnapshot = project.version.toString().endsWith(" -SNAPSHOT" , ignoreCase = true )
111+
112+ if (hasKey && ! isSnapshot) {
88113 useInMemoryPgpKeys(
89- providers.gradleProperty(" signingInMemoryKey" ).getOrElse( " " ),
114+ providers.gradleProperty(" signingInMemoryKey" ).get( ),
90115 providers.gradleProperty(" signingInMemoryKeyPassword" ).getOrElse(" " ),
91116 )
92117 sign(publishing.publications)
93118 }
94119}
120+ }
0 commit comments