aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJonas Herzig <me@johni0702.de>2019-06-17 11:10:55 +0200
committerJonas Herzig <me@johni0702.de>2019-06-17 11:10:55 +0200
commitb6acd65e44395ecefb9bf5b0e9069eddb17356fe (patch)
treeda56e4157ed790126778ecdfb013432f192ec169 /build.gradle
parent5db2235f83ae0087c0f0a8ba0e6c3792d68e6bea (diff)
downloadRemap-b6acd65e44395ecefb9bf5b0e9069eddb17356fe.tar.gz
Remap-b6acd65e44395ecefb9bf5b0e9069eddb17356fe.tar.bz2
Remap-b6acd65e44395ecefb9bf5b0e9069eddb17356fe.zip
Upgrade to Gradle 5
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle16
1 files changed, 13 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index 7064a38..9809906 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,7 @@
-apply plugin: 'java'
-apply plugin: 'maven'
+plugins {
+ id 'java'
+ id 'maven-publish'
+}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
@@ -16,5 +18,13 @@ dependencies {
}
jar {
- baseName 'remap'
+ archiveBaseName.set('remap')
+}
+
+publishing {
+ publications {
+ maven(MavenPublication) {
+ from components.java
+ }
+ }
}