diff options
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 { |