summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
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