Skip to content

Commit 31bad17

Browse files
committed
Added publishing to maven local
1 parent b6e05ff commit 31bad17

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.gradle

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

56
group = 'me.andreasmelone'
@@ -27,4 +28,12 @@ jar {
2728

2829
test {
2930
useJUnitPlatform()
31+
}
32+
33+
publishing {
34+
publications {
35+
mavenJava(MavenPublication) {
36+
from components.java
37+
}
38+
}
3039
}

0 commit comments

Comments
 (0)