ForgeWrapper/build.gradle
2019-12-28 03:23:07 +08:00

48 lines
No EOL
1 KiB
Groovy

/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds/
*/
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
name = "forge"
url = "https://files.minecraftforge.net/maven"
}
}
}
apply plugin: "base"
apply plugin: "java"
apply plugin: "idea"
sourceCompatibility = targetCompatibility = 1.8
version = "1.0.0"
group = "io.github.zekerzhayard"
archivesBaseName = rootProject.name
repositories {
mavenCentral()
jcenter()
maven {
name = "forge"
url = "https://files.minecraftforge.net/maven"
}
}
dependencies {
compile "commons-codec:commons-codec:1.10"
compile "cpw.mods:modlauncher:5.0.0-milestone.4"
compile "net.minecraftforge:forge:1.15.1-30.0.16:installer"
}
jar {
manifest.attributes(
"Main-Class": "io.github.zekerzhayard.forgewrapper.Main"
)
}