Changes I made before breaking my local repository. Hoping this works.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,3 +7,4 @@ build/
|
||||
target/
|
||||
/gradle-output.txt
|
||||
/*.java
|
||||
*.dump
|
||||
@@ -13,22 +13,22 @@ version = "0.2"
|
||||
|
||||
plugins {
|
||||
java
|
||||
kotlin("jvm") version "1.3.0-rc-57"
|
||||
kotlin("jvm") version "1.3.0-rc-146"
|
||||
id("com.github.johnrengelman.plugin-shadow") version "2.0.3"
|
||||
}
|
||||
|
||||
|
||||
|
||||
allprojects {
|
||||
apply<JavaPlugin>()
|
||||
apply(plugin = "idea")
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
|
||||
maven("https://hub.spigotmc.org/nexus/content/repositories/sonatype-nexus-snapshots")
|
||||
maven("https://dl.bintray.com/kotlin/exposed")
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
||||
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
|
||||
maven("https://hub.spigotmc.org/nexus/content/repositories/sonatype-nexus-snapshots/")
|
||||
maven("https://dl.bintray.com/kotlin/exposed/")
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-dev/")
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-eap/")
|
||||
maven("https://dl.bintray.com/kotlin/kotlinx/")
|
||||
}
|
||||
|
||||
@@ -146,11 +146,6 @@ tasks {
|
||||
|
||||
val jarUrl = URL("https://yivesmirror.com/files/spigot/spigot-latest.jar")
|
||||
val serverJarFile = file("$serverDir/lib/spigot.jar")
|
||||
|
||||
|
||||
doFirst {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,5 +166,8 @@ val ConfigurationContainer.`provided`: Configuration
|
||||
val ConfigurationContainer.`kotlinStd`: Configuration
|
||||
get() = findByName("kotlinStd") ?: create("kotlinStd").let { compileClasspath.extendsFrom(it) }
|
||||
|
||||
fun Jar.fromFiles(files: Iterable<File>) =
|
||||
fun Jar.fromFiles(files: Iterable<File>) {
|
||||
return
|
||||
afterEvaluate { from(*files.map { if (it.isDirectory) it else zipTree(it) }.toTypedArray()) }
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
pluginManagement.repositories {
|
||||
maven("http://dl.bintray.com/kotlin/kotlin-eap")
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-eap/")
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-dev/")
|
||||
mavenCentral()
|
||||
maven("https://plugins.gradle.org/m2/")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user