Skip to content

Commit f5267cd

Browse files
committed
unifying the name and version number of the artifact, adding maven publication for local developement
1 parent 4c62c01 commit f5267cd

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

build.gradle

Lines changed: 11 additions & 1 deletion
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

56
group 'com.papsign.ktor'
6-
version '1.0-SNAPSHOT'
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)