Add maven publication plugin

pull/17/head
Koitharu 4 years ago
parent 26d7aa52af
commit 05a93e2380
No known key found for this signature in database
GPG Key ID: 8E861F8CE6E7CE27

@ -2,6 +2,7 @@ plugins {
id 'java-library'
id 'org.jetbrains.kotlin.jvm'
id 'com.google.devtools.ksp'
id 'maven-publish'
}
group = 'org.koitharu'
@ -35,6 +36,16 @@ kotlin {
}
}
afterEvaluate {
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
}
dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'

Loading…
Cancel
Save