Skip to content

Commit 2d7fe4a

Browse files
committed
Leverage publishToMavenLocal
1 parent 68e0996 commit 2d7fe4a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.gradle.kts

+9
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ plugins {
1616
kotlin("jvm") version "1.3.10"
1717
idea
1818
maven
19+
`maven-publish`
1920
id("com.github.johnrengelman.shadow") version "4.0.3"
2021
id("org.jmailen.kotlinter") version "1.20.1"
2122
id("com.google.protobuf") version "0.8.7"
@@ -73,6 +74,14 @@ tasks {
7374
}
7475
}
7576

77+
publishing {
78+
publications {
79+
create<MavenPublication>("maven") {
80+
from(components["java"])
81+
}
82+
}
83+
}
84+
7685
protobuf {
7786
protoc {
7887
// The artifact spec for the Protobuf Compiler

0 commit comments

Comments
 (0)