mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-27 23:45:39 +00:00
46 lines
902 B
Groovy
46 lines
902 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
configurations.all {
|
|
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
|
|
}
|
|
|
|
// Version strings used for CI
|
|
// Note the spaces before and after the equals sign
|
|
ext.majorVersion = 1
|
|
ext.minorVersion = 0
|
|
ext.minecraftVersion = "1.8"
|
|
|
|
repositories {
|
|
jcenter()
|
|
|
|
maven {
|
|
name 'bungeecord-repo'
|
|
url 'https://hub.spigotmc.org/nexus/content/groups/public'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'net.md-5:bungeecord-api:1.13-SNAPSHOT'
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
mavenJava(MavenPublication) {
|
|
groupId "Color_yr"
|
|
artifactId "ALLmusic_BC"
|
|
version "$majorVersion.$minorVersion-SNAPSHOT"
|
|
from components.java
|
|
}
|
|
}
|
|
repositories {
|
|
maven {
|
|
url "$buildDir/repo"
|
|
}
|
|
}
|
|
}
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = "UTF-8"
|
|
} |