Skip to content

Commit 1a70a7d

Browse files
authored
Merge pull request #89 from kkalisz/maven-publish
unifying the name and version number of the artifact
2 parents ec898a5 + 827c0d0 commit 1a70a7d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

build.gradle

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
plugins {
22
id "org.jetbrains.kotlin.jvm" version "$kotlin_version"
3+
id 'maven-publish'
34
}
45

5-
group 'com.papsign.ktor'
6-
version '1.0-SNAPSHOT'
6+
group 'com.github.papsign'
7+
version '0.2-beta.15-SNAPSHOT'
78

89
repositories {
910
mavenCentral()
1011
jcenter()
1112
}
1213

14+
publishing {
15+
publications {
16+
jarModule(MavenPublication) {
17+
artifactId 'Ktor-OpenAPI-Generator'
18+
from components.java
19+
}
20+
}
21+
}
22+
1323
dependencies {
1424
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
1525
implementation "org.slf4j:slf4j-api:$slf4j_version"

0 commit comments

Comments
 (0)