1
0
mirror of https://github.com/chylex/Minecraft-Window-Title.git synced 2024-11-14 17:42:49 +01:00
Minecraft-Window-Title/Forge/build.gradle
2020-02-06 08:47:32 +01:00

40 lines
891 B
Groovy

buildscript{
repositories{
maven{ url = 'https://files.minecraftforge.net/maven' }
jcenter()
}
dependencies{
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
def mcversion = "1.12.2"
def forgeversion = "14.23.5.2847"
def metaName = "Custom Window Title"
def metaVersion = "1.0.0"
group = 'chylex.customwindowtitle.forge'
version = metaVersion
archivesBaseName = metaName.replaceAll('\\s', '')
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
minecraft{
version = mcversion + '-' + forgeversion
runDir = "run"
mappings = "snapshot_20180814"
makeObfSourceJar = false
}
jar{
archiveName = archivesBaseName + '-Legacy-v' + version + '.jar'
from('../'){
include 'LICENSE'
}
}