2015-03-22 17:38:04 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
mavenLocal()
|
|
|
|
maven {
|
|
|
|
name = "forge"
|
|
|
|
url = "http://files.minecraftforge.net/maven"
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
name = "sonatype"
|
|
|
|
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'maven'
|
|
|
|
apply plugin: 'cauldron'
|
|
|
|
|
|
|
|
minecraft {
|
|
|
|
version = '1.7.10'
|
|
|
|
mcpVersion = '9.05'
|
|
|
|
mainClass = 'cpw.mods.fml.relauncher.ServerLaunchWrapper'
|
|
|
|
tweakClass = 'cpw.mods.fml.common.launcher.FMLTweaker'
|
|
|
|
installerVersion = "1.4"
|
|
|
|
subprojects {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
maven {
|
|
|
|
name = "sonatype"
|
|
|
|
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
|
|
}
|
|
|
|
flatDir {
|
|
|
|
name "fileRepo"
|
|
|
|
dirs "repo"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
srgExtra "PK: org/bukkit/craftbukkit org/bukkit/craftbukkit/v1_7_R4"
|
|
|
|
}
|
|
|
|
|
2015-05-14 05:38:03 +00:00
|
|
|
group = 'pw.prok.kcauldron'
|
|
|
|
archivesBaseName = 'kcauldron'
|
|
|
|
|
2015-03-22 17:38:04 +00:00
|
|
|
ext.mcVersion = "1.7.10"
|
2015-05-15 02:08:55 +00:00
|
|
|
ext.cauldronVersion = "4"
|
2015-05-08 09:29:14 +00:00
|
|
|
ext.forgeVersion = "1403"
|
2015-05-17 03:16:04 +00:00
|
|
|
ext.revision = "64"
|
2015-05-14 05:38:03 +00:00
|
|
|
version = "${mcVersion}-${cauldronVersion}.${forgeVersion}.${revision}"
|
2015-03-22 17:38:04 +00:00
|
|
|
|
|
|
|
launch4j {
|
|
|
|
jreMinVersion = '1.6.0'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.packageUniversal {
|
|
|
|
classifier = 'server'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.packageUniversal.manifest {
|
|
|
|
attributes([
|
2015-05-14 05:38:03 +00:00
|
|
|
'Implementation-Vendor': 'Prototik',
|
|
|
|
'Implementation-Title': 'KCauldron',
|
2015-05-08 09:29:14 +00:00
|
|
|
'Implementation-Version': 'KCauldron-'+project.version,
|
|
|
|
'Forge-Version': '10.13.3.1403',
|
2015-03-22 17:38:04 +00:00
|
|
|
'Specification-Vendor': 'Bukkit Team',
|
|
|
|
'Specification-Title': 'Bukkit',
|
|
|
|
'Specification-Version': '1.7.10-R0.1-SNAPSHOT'
|
|
|
|
])
|
2015-05-08 09:29:14 +00:00
|
|
|
}
|