aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authoringle <inglettronald@gmail.com>2022-09-23 22:24:48 -0500
committeringle <inglettronald@gmail.com>2022-09-23 22:25:15 -0500
commit3cd5f5f32cd60c15e1c68862d28885f733473dad (patch)
treeb58f43d7a27cfab3246b7b32a84ff1b8518dd3b9 /build.gradle.kts
parent982f4e721ea20eaef3056050ad0b6a5058d24354 (diff)
downloadDulkirMod-3cd5f5f32cd60c15e1c68862d28885f733473dad.tar.gz
DulkirMod-3cd5f5f32cd60c15e1c68862d28885f733473dad.tar.bz2
DulkirMod-3cd5f5f32cd60c15e1c68862d28885f733473dad.zip
Some things work now
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts18
1 files changed, 16 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 70fc798..5d145fa 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,3 +1,5 @@
+import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
+
plugins {
idea
java
@@ -44,6 +46,10 @@ sourceSets.main {
output.setResourcesDir(file("$buildDir/classes/java/main"))
}
+val packageLib by configurations.creating {
+ configurations.implementation.get().extendsFrom(this)
+}
+
// Dependencies:
repositories {
@@ -51,6 +57,7 @@ repositories {
maven("https://repo.spongepowered.org/maven/")
// If you don't want to log in with your real minecraft account, remove this line
maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1")
+ maven("https://repo.sk1er.club/repository/maven-public")
}
val shadowImpl: Configuration by configurations.creating {
@@ -71,6 +78,9 @@ dependencies {
// If you don't want to log in with your real minecraft account, remove this line
runtimeOnly("me.djtheredstoner:DevAuth-forge-legacy:1.1.0")
+ shadowImpl("gg.essential:loader-launchwrapper:1.1.3")
+ implementation("gg.essential:essential-1.8.9-forge:3662")
+
}
// Tasks:
@@ -78,6 +88,11 @@ dependencies {
tasks.withType(JavaCompile::class) {
options.encoding = "UTF-8"
}
+tasks.withType<KotlinCompile> {
+ kotlinOptions {
+ jvmTarget = "1.8"
+ }
+}
tasks.withType(Jar::class) {
archiveBaseName.set("dulkirmod")
@@ -111,5 +126,4 @@ tasks.shadowJar {
fun relocate(name: String) = relocate(name, "com.dulkirmod.deps.$name")
}
-tasks.assemble.get().dependsOn(tasks.remapJar)
-
+tasks.assemble.get().dependsOn(tasks.remapJar) \ No newline at end of file