Refactor build repositories to reduce number of unnecessary request

Setup for all projects only local, jcenter and bootstrap repositories
This commit is contained in:
Vyacheslav Gerasimov
2018-08-24 21:34:34 +03:00
parent ca5b19d0c6
commit bc544d764a
11 changed files with 84 additions and 54 deletions
+17 -1
View File
@@ -7,9 +7,24 @@ plugins {
id("jps-compatible")
}
repositories {
maven("https://repo.gradle.org/gradle/ext-releases-local")
}
jvmTarget = "1.6"
val nativePlatformVariants: List<String> by rootProject.extra
val nativePlatformVariants = listOf(
"windows-amd64",
"windows-i386",
"osx-amd64",
"osx-i386",
"linux-amd64",
"linux-i386",
"freebsd-amd64-libcpp",
"freebsd-amd64-libstdcpp",
"freebsd-i386-libcpp",
"freebsd-i386-libstdcpp"
)
dependencies {
compileOnly(project(":compiler:util"))
@@ -40,6 +55,7 @@ runtimeJar(task<ShadowJar>("shadowJar")) {
}
sourcesJar()
javadocJar()
dist()