Skip to content

Commit 19cf10f

Browse files
authored
Merge pull request #16 from Tofpu/master
2 parents 514b568 + b4050c6 commit 19cf10f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

build.gradle

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
plugins {
22
id "java"
3+
id "maven-publish"
34
}
45

56
subprojects {
6-
77
apply plugin: "java"
88
apply plugin: "maven-publish"
99

@@ -13,6 +13,14 @@ subprojects {
1313
sourceCompatibility = 1.8
1414
targetCompatibility = 1.8
1515

16+
publishing {
17+
publications {
18+
mavenJava(MavenPublication) {
19+
from components.java
20+
}
21+
}
22+
}
23+
1624
repositories {
1725
mavenCentral()
1826
}

0 commit comments

Comments
 (0)