Skip to content

Instantly share code, notes, and snippets.

@14mRh4X0r
Created September 15, 2017 11:29
Show Gist options
  • Save 14mRh4X0r/18f6d62c46c54e688a86587ea9ff97be to your computer and use it in GitHub Desktop.
Save 14mRh4X0r/18f6d62c46c54e688a86587ea9ff97be to your computer and use it in GitHub Desktop.
plugins {
id "com.github.johnrengelman.shadow" version "2.0.1"
id "java"
}
ext {
base_version = '1.0'
mc_version = '1.8.8'
lib_version = '1.0'
}
group = 'net.visualillusionsent.phoenix'
version = "${mc_version}-${base_version}"
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
dependencies {
compile "net.visualillusionsent.phoenix:phoenix-lib:${lib_version}"
}
jar {
manifest {
attributes "Implementation-Title": "Phoenix",
"Implementation-Version": base_version,
"Implementation-Vendor": "Visual Illusions Entertainment",
"Implementation-Vendor-Id": "net.visualillusionsent",
"Specification-Title": "PhoenixLib",
"Specification-Version": lib_version,
"Specification-Vendor": "Visual Illusions Entertainment",
"Specification-Vendor-Id": "net.visualillusionsent",
"Minecraft-Version": mc_version,
"Main-Class": "net.visualillusionsent.phoenix.Phoenix"
}
}
assemble.dependsOn shadowJar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment