summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorEthanDevelops <git@ethanlibs.co>2022-05-08 10:26:04 -0400
committerEthanDevelops <git@ethanlibs.co>2022-05-08 10:26:04 -0400
commitbdd1cb4b2f57f5303181f30635282c953d3218c5 (patch)
treeee780cfd8459877f6a78191153d00e62b456d394 /build.gradle
downloadOneConfigLoader-bdd1cb4b2f57f5303181f30635282c953d3218c5.tar.gz
OneConfigLoader-bdd1cb4b2f57f5303181f30635282c953d3218c5.tar.bz2
OneConfigLoader-bdd1cb4b2f57f5303181f30635282c953d3218c5.zip
Initial FMLLoadingPlugin
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle44
1 files changed, 44 insertions, 0 deletions
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