diff options
author | thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> | 2019-12-14 16:38:28 -0800 |
---|---|---|
committer | thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> | 2019-12-14 16:38:28 -0800 |
commit | 04416841613b1f795a3dda6d861f1cded9600bac (patch) | |
tree | 913d56856f3bbb96c499a5b048378cc17b2c61d6 /build.gradle | |
parent | 4390d994bbee18ef5ed77f2f5429e3079af84b40 (diff) | |
download | KotlinForForge-04416841613b1f795a3dda6d861f1cded9600bac.tar.gz KotlinForForge-04416841613b1f795a3dda6d861f1cded9600bac.tar.bz2 KotlinForForge-04416841613b1f795a3dda6d861f1cded9600bac.zip |
Adding files
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle index 09aac4c..26760ab 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ buildscript { } } plugins { - id "org.jetbrains.kotlin.jvm" version "1.3.50" + id "org.jetbrains.kotlin.jvm" version "1.3.61" id "com.github.johnrengelman.shadow" version "4.0.4" } @@ -31,7 +31,7 @@ tasks.build.dependsOn kotlinSourcesJar tasks.build.dependsOn shadowJar minecraft { - mappings channel: 'snapshot', version: '20191019-1.14.3' + mappings channel: 'snapshot', version: '20191213-1.14.3' runs { client { @@ -91,7 +91,8 @@ repositories { } dependencies { - minecraft 'net.minecraftforge:forge:1.14.4-28.1.74' + minecraft 'net.minecraftforge:forge:1.14.4-28.1.106' + compile group: "org.jetbrains.kotlin", name: "kotlin-stdlib", version: kotlin_version compile group: "org.jetbrains.kotlin", name: "kotlin-stdlib-jdk7", version: kotlin_version compile group: "org.jetbrains.kotlin", name: "kotlin-stdlib-jdk8", version: kotlin_version @@ -99,6 +100,9 @@ dependencies { compile group: "org.jetbrains", name: "annotations", version: annotations_version compile group: "org.jetbrains.kotlinx", name: "kotlinx-coroutines-core", version: coroutines_version compile group: "org.jetbrains.kotlinx", name: "kotlinx-coroutines-jdk8", version: coroutines_version + + // Used to generate html files + compile group: 'org.jsoup', name: 'jsoup', version: '1.11.3' } shadowJar { @@ -141,6 +145,7 @@ def reobfArtifact = artifacts.add('default', reobfFile) { type 'jar' builtBy 'reobfJar' } + publishing { publications { mavenJava(MavenPublication) { @@ -152,4 +157,11 @@ publishing { url "file:///${project.projectDir}/mcmodsrepo" } } +} + +compileKotlin { + kotlinOptions { + freeCompilerArgs = ["-Xinline-classes"] + jvmTarget = '1.8' + } }
\ No newline at end of file |