mirror of
https://github.com/barkeser2002/JMT-MCMT.git
synced 2026-09-25 01:10:04 +03:00
Co-authored-by: barkeser2002 <45911502+barkeser2002@users.noreply.github.com>
60 lines
1.5 KiB
Groovy
60 lines
1.5 KiB
Groovy
buildscript {
|
|
repositories {
|
|
maven { url = 'https://maven.minecraftforge.net/' }
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
|
|
}
|
|
}
|
|
apply plugin: 'net.minecraftforge.gradle'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'maven-publish'
|
|
|
|
version = "0.23.89-PRE"
|
|
group = "org.jmt.mcmt"
|
|
archivesBaseName = "jmt_mcmt-1.12.2"
|
|
|
|
sourceCompatibility = targetCompatibility = '1.8'
|
|
compileJava {
|
|
sourceCompatibility = targetCompatibility = '1.8'
|
|
}
|
|
|
|
minecraft {
|
|
mappings channel: 'snapshot', version: '20171003-1.12'
|
|
runs {
|
|
client {
|
|
workingDirectory project.file('run')
|
|
mods {
|
|
jmt_mcmt { source sourceSets.main }
|
|
}
|
|
}
|
|
server {
|
|
workingDirectory project.file('run')
|
|
mods {
|
|
jmt_mcmt { source sourceSets.main }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
minecraft "net.minecraftforge:forge:1.12.2-14.23.5.2860"
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes([
|
|
"Specification-Title": "jmt_mcmt",
|
|
"Specification-Vendor": "jmtmakesthings",
|
|
"Specification-Version": "1",
|
|
"Implementation-Title": project.name,
|
|
"Implementation-Version": "${version}",
|
|
"Implementation-Vendor" :"jmtmakesthings",
|
|
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
|
|
"FMLCorePlugin": "org.jmt.mcmt.coremod.MCMTCorePlugin",
|
|
"FMLCorePluginContainsFMLMod": "true"
|
|
])
|
|
}
|
|
}
|