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/
|
target/
|
||||||
/gradle-output.txt
|
/gradle-output.txt
|
||||||
/*.java
|
/*.java
|
||||||
|
*.dump
|
||||||
@@ -13,22 +13,22 @@ version = "0.2"
|
|||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
java
|
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"
|
id("com.github.johnrengelman.plugin-shadow") version "2.0.3"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
apply<JavaPlugin>()
|
apply<JavaPlugin>()
|
||||||
apply(plugin = "idea")
|
apply(plugin = "idea")
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
|
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
|
||||||
maven("https://hub.spigotmc.org/nexus/content/repositories/sonatype-nexus-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/exposed/")
|
||||||
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
maven("https://dl.bintray.com/kotlin/kotlin-dev/")
|
||||||
|
maven("https://dl.bintray.com/kotlin/kotlin-eap/")
|
||||||
maven("https://dl.bintray.com/kotlin/kotlinx/")
|
maven("https://dl.bintray.com/kotlin/kotlinx/")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -146,11 +146,6 @@ tasks {
|
|||||||
|
|
||||||
val jarUrl = URL("https://yivesmirror.com/files/spigot/spigot-latest.jar")
|
val jarUrl = URL("https://yivesmirror.com/files/spigot/spigot-latest.jar")
|
||||||
val serverJarFile = file("$serverDir/lib/spigot.jar")
|
val serverJarFile = file("$serverDir/lib/spigot.jar")
|
||||||
|
|
||||||
|
|
||||||
doFirst {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -171,5 +166,8 @@ val ConfigurationContainer.`provided`: Configuration
|
|||||||
val ConfigurationContainer.`kotlinStd`: Configuration
|
val ConfigurationContainer.`kotlinStd`: Configuration
|
||||||
get() = findByName("kotlinStd") ?: create("kotlinStd").let { compileClasspath.extendsFrom(it) }
|
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()) }
|
afterEvaluate { from(*files.map { if (it.isDirectory) it else zipTree(it) }.toTypedArray()) }
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
pluginManagement.repositories {
|
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()
|
mavenCentral()
|
||||||
maven("https://plugins.gradle.org/m2/")
|
maven("https://plugins.gradle.org/m2/")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user