mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-05 12:26:06 +00:00
28 lines
996 B
Kotlin
28 lines
996 B
Kotlin
|
import org.gradle.api.Project
|
||
|
import org.gradle.kotlin.dsl.repositories
|
||
|
|
||
|
fun Project.applyCommonConfiguration() {
|
||
|
group = rootProject.group
|
||
|
version = rootProject.version
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
mavenLocal()
|
||
|
maven { url = uri("http://ci.athion.net/job/PlotSquared-Breaking/ws/mvn/") }
|
||
|
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") }
|
||
|
maven { url = uri("https://ci.athion.net/job/FAWE-Piston/ws/") }
|
||
|
ivy { url = uri("https://ci.athion.net/job")
|
||
|
patternLayout {
|
||
|
artifact("/[organisation]/[module]/artifact/[revision].[ext]")
|
||
|
}}
|
||
|
}
|
||
|
configurations.all {
|
||
|
resolutionStrategy {
|
||
|
cacheChangingModulesFor(5, "minutes")
|
||
|
}
|
||
|
}
|
||
|
}
|