Update build.gradle

This commit is contained in:
Color_yr committed 2020-07-07 16:51:36 +08:00
1 parent 33d16b7339
commit 7ed915cf2c
1 file changed
+2 -22
+2 -22
View File
@@ -2,10 +2,6 @@ plugins {
id 'java'
id 'maven-publish'
}
// Version strings used for CI
// Note the spaces before and after the equals sign
ext.majorVersion = 0
ext.minorVersion = 1
version = "2.0.5"
repositories {
@@ -21,27 +17,11 @@ repositories {
}
dependencies {
compile 'net.md-5:bungeecord-api:1.15-SNAPSHOT'
compile 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT'
compile 'org.spigotmc:spigot-api:1.16.1-R0.1-SNAPSHOT'
compile 'net.md-5:bungeecord-api:1.16-R0.2-SNAPSHOT'
dependencies { compile fileTree(dir:'lib',include:['*.jar'])}
compileOnly 'me.clip:placeholderapi:2.10.4'
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId "Color_yr"
artifactId "AllMusic"
version "$majorVersion.$minorVersion-SNAPSHOT"
from components.java
}
}
repositories {
maven {
url "$buildDir/repo"
}
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}