Skip to content

Commit b9d2132

Browse files
committed
build.gradle: added maven-publish
1 parent 9fde7e5 commit b9d2132

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ buildscript {
77

88
plugins {
99
id 'java'
10+
id 'maven-publish'
1011
}
1112

1213
group 'org.julia'
@@ -18,7 +19,17 @@ repositories {
1819
mavenCentral()
1920
}
2021

22+
publishing {
23+
publications {
24+
maven(MavenPublication) {
25+
groupId = group
26+
artifactId = rootProject.name
27+
version = version
2128

29+
from components.java
30+
}
31+
}
32+
}
2233

2334
test {
2435
useJUnitPlatform()

0 commit comments

Comments
 (0)