Skip to content

Commit 0cbe53b

Browse files
committed
add publish
1 parent 36f1880 commit 0cbe53b

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

build.gradle

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,20 @@ repositories {
1313

1414
dependencies {
1515
}
16-
17-
test {
18-
}
1916
tasks.withType(JavaCompile) {
2017
options.encoding = "UTF-8"
2118
options.compilerArgs.addAll(['-source', '8', '-target', '8'])
19+
}
20+
publishing {
21+
publications {
22+
mavenCommon(MavenPublication) {
23+
artifactId = rootProject.name
24+
from components.java
25+
}
26+
}
27+
28+
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
29+
repositories {
30+
// Add repositories to publish to here.
31+
}
2232
}

0 commit comments

Comments
 (0)