Archived
0

Changes I made before breaking my local repository. Hoping this works.

This commit is contained in:
Dico Karssiens
2018-11-11 14:06:45 +00:00
parent e55c595e54
commit 0f196f59c6
184 changed files with 17998 additions and 17998 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@ build/
target/
/gradle-output.txt
/*.java
*.dump

View File

@@ -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()) }
}

View File

@@ -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/")
}