From bdd1cb4b2f57f5303181f30635282c953d3218c5 Mon Sep 17 00:00:00 2001 From: EthanDevelops Date: Sun, 8 May 2022 10:26:04 -0400 Subject: Initial FMLLoadingPlugin --- build.gradle | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 build.gradle (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..91837cd --- /dev/null +++ b/build.gradle @@ -0,0 +1,44 @@ +//file:noinspection GradlePackageUpdate +plugins { + id 'com.github.johnrengelman.shadow' version '6.1.0' + id "net.minecraftforge.gradle.forge" version "ddb1eb0" + id "java" + id "maven-publish" +} + +version = "1.0.0" +group = "cc.polyfrost" +archivesBaseName = rootProject.name.toLowerCase(Locale.ENGLISH) + +sourceCompatibility = targetCompatibility = 1.8 +compileJava.options.encoding = 'UTF-8' + +minecraft { + version = "1.8.9-11.15.1.2318-1.8.9" + runDir = "run" + mappings = "stable_22" + makeObfSourceJar = false +} + +configurations { + include + implementation.extendsFrom(include) +} + +repositories { + mavenCentral() + maven { url "https://repo.woverflow.cc/" } + maven { url "https://libraries.minecraft.net/" } +} + +dependencies { + compileOnly ("com.google.code.gson:gson:2.2.3") + compileOnly ("org.apache.httpcomponents:httpclient:4.3.3") + include ('io.sentry:sentry:5.6.3') +} + +shadowJar { + archiveClassifier.set('') + configurations = [project.configurations.include] + duplicatesStrategy DuplicatesStrategy.EXCLUDE +} \ No newline at end of file -- cgit