File tree Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ plugins {
1818 kotlin(" jvm" ) version " 2.0.21"
1919 kotlin(" kapt" ) version " 2.0.21"
2020 id(" com.github.johnrengelman.shadow" ) version " 8.1.1"
21+ id(" com.vanniktech.maven.publish" ) version " 0.34.0"
2122 application
2223 `maven- publish`
2324 signing
@@ -212,4 +213,39 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
212213tasks.withType<JavaCompile > {
213214 sourceCompatibility = " 1.8"
214215 targetCompatibility = " 1.8"
215- }
216+ }
217+
218+ mavenPublishing {
219+ publishToMavenCentral(automaticRelease = true )
220+
221+ signAllPublications()
222+
223+ coordinates(" dev.parsek" , " parsek" , version as String? )
224+
225+ pom {
226+ name.set(" Parsek" )
227+ description.set(" Open-source modular backend in Kotlin." )
228+ inceptionYear.set(" 2025" )
229+ url.set(" https://github.com/ParsekDev/parsek/" )
230+ licenses {
231+ license {
232+ name.set(" MIT" )
233+ url.set(" https://github.com/ParsekDev/parsek?tab=MIT-1-ov-file" )
234+ distribution.set(" https://github.com/ParsekDev/parsek?tab=MIT-1-ov-file" )
235+ }
236+ }
237+ developers {
238+ developer {
239+ id.set(" duruer" )
240+ name.set(" Ahmet Enes Duruer" )
241+ url.set(" https://github.com/duruer/" )
242+ }
243+ }
244+ scm {
245+ url.set(" https://github.com/ParsekDev/parsek/" )
246+ connection.set(" scm:git:git://github.com/ParsekDev/parsek.git" )
247+ developerConnection.set(
" scm:git:ssh://[email protected] /ParsekDev/parsek.git" )
248+ }
249+ }
250+ }
251+
You can’t perform that action at this time.
0 commit comments