From fd9178482200bfe58ff283085fd76a0c4f8f7b86 Mon Sep 17 00:00:00 2001 From: thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> Date: Wed, 24 Jun 2020 09:35:52 -0700 Subject: Update Kotlin for Forge 1.3.1 --- build.gradle | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'build.gradle') 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 { -- cgit