ForgeWrapper/build.gradle

39 lines
894 B
Groovy
Raw Normal View History

2019-12-27 12:23:07 -07:00
apply plugin: "base"
apply plugin: "java"
2020-02-08 20:34:40 -07:00
apply plugin: "eclipse"
2019-12-27 12:23:07 -07:00
apply plugin: "idea"
sourceCompatibility = targetCompatibility = 1.8
2020-07-13 12:56:34 -07:00
version = "1.4.2"
2019-12-27 12:23:07 -07:00
group = "io.github.zekerzhayard"
archivesBaseName = rootProject.name
repositories {
maven {
name = "forge"
url = "https://files.minecraftforge.net/maven/"
2019-12-27 12:23:07 -07:00
}
}
dependencies {
compile "cpw.mods:modlauncher:4.1.0"
compile "net.minecraftforge:forge:1.14.4-28.2.0:installer"
2019-12-27 12:23:07 -07:00
}
jar {
manifest.attributes(
"Main-Class": "io.github.zekerzhayard.forgewrapper.converter.Main"
2019-12-27 12:23:07 -07:00
)
}
processResources {
inputs.property "version", project.version
from(sourceSets.main.resources.srcDirs) {
include "patches/net.minecraftforge.json"
expand "version": project.version
}
from(sourceSets.main.resources.srcDirs) {
exclude "patches/net.minecraftforge.json"
}
2019-12-27 12:23:07 -07:00
}