diff options
author | thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> | 2020-06-24 09:35:52 -0700 |
---|---|---|
committer | thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> | 2020-06-24 09:35:52 -0700 |
commit | fd9178482200bfe58ff283085fd76a0c4f8f7b86 (patch) | |
tree | 9e550dd0c788f07b3d454e799b03d797e237eef5 /build.gradle | |
parent | fdc32cab958aa4e81c2f7a7e13213231b49c5815 (diff) | |
download | KotlinForForge-fd9178482200bfe58ff283085fd76a0c4f8f7b86.tar.gz KotlinForForge-fd9178482200bfe58ff283085fd76a0c4f8f7b86.tar.bz2 KotlinForForge-fd9178482200bfe58ff283085fd76a0c4f8f7b86.zip |
Update Kotlin for Forge 1.3.1
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/build.gradle b/build.gradle index 0722f28..af88d50 100644 --- a/build.gradle +++ b/build.gradle @@ -3,6 +3,7 @@ buildscript { maven { url = 'https://files.minecraftforge.net/maven' } maven { url = "https://maven.tterrag.com/" } maven { url = "https://dl.bintray.com/kotlin/kotlin-eap" } + maven { url = "https://oss.sonatype.org/content/repositories/snapshots/" } jcenter() mavenCentral() } @@ -10,6 +11,7 @@ buildscript { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'org.jetbrains.dokka:dokka-gradle-plugin:0.10.1' + classpath group: 'com.wynprice.cursemaven', name: 'CurseMaven', version: '2.1.5' } } plugins { @@ -20,7 +22,7 @@ apply plugin: 'net.minecraftforge.gradle' apply plugin: 'kotlin' apply plugin: 'org.jetbrains.dokka' -version = "1.3.0" +version = "1.3.1" group = 'thedarkcolour.kotlinforforge' archivesBaseName = 'kotlinforforge' @@ -75,6 +77,10 @@ repositories { name = 'Dokka' url = 'https://dl.bintray.com/kotlin/dokka' } + maven { + name = "CurseForge" + url = "https://minecraft.curseforge.com/api/maven/" + } } dependencies { @@ -124,15 +130,8 @@ compileKotlin { } } -sourceSets.test { - kotlin.srcDirs 'src/example/kotlin' - resources.srcDirs 'src/example/resources' -} - kotlinSourcesJar { - from(sourceSets.main.kotlin.srcDirs).eachFile { file -> - println(file.name) - } + from(sourceSets.main.kotlin.srcDirs) } dokka { |