2019-08-26 06:45:03 +02:00
|
|
|
import org.gradle.api.Project
|
|
|
|
import org.gradle.kotlin.dsl.repositories
|
|
|
|
|
|
|
|
fun Project.applyCommonConfiguration() {
|
|
|
|
group = rootProject.group
|
|
|
|
version = rootProject.version
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
mavenLocal()
|
2019-11-07 11:28:17 +01:00
|
|
|
maven { url = uri("http://ci.athion.net/job/PlotSquared-we/ws/mvn/") }
|
2019-08-26 06:45:03 +02:00
|
|
|
maven { url = uri("https://maven.sk89q.com/repo/") }
|
|
|
|
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") }
|
|
|
|
maven { url = uri("http://empcraft.com/maven2") }
|
|
|
|
maven { url = uri("https://repo.destroystokyo.com/repository/maven-public") }
|
2019-10-23 06:23:52 +02:00
|
|
|
maven { url = uri("https://ci.athion.net/job/FAWE-Piston/ws/") }
|
2019-08-26 06:45:03 +02:00
|
|
|
ivy { url = uri("https://ci.athion.net/job")
|
|
|
|
patternLayout {
|
2019-08-26 07:03:58 +02:00
|
|
|
artifact("/[organisation]/[revision]/artifact/[module].[ext]")
|
2019-08-26 06:45:03 +02:00
|
|
|
}}
|
|
|
|
}
|
|
|
|
configurations.all {
|
|
|
|
resolutionStrategy {
|
2019-09-21 03:52:35 +02:00
|
|
|
cacheChangingModulesFor(10, "minutes")
|
2019-08-26 06:45:03 +02:00
|
|
|
}
|
|
|
|
}
|
2019-10-23 06:23:52 +02:00
|
|
|
|
2019-08-26 06:45:03 +02:00
|
|
|
}
|