Provide mavenCentral/jcenter to all projects
This commit is contained in:
parent
06755ed765
commit
ce1110a5cd
@ -1,6 +1,4 @@
|
|||||||
import com.jfrog.bintray.gradle.BintrayExtension
|
import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper
|
||||||
import com.jfrog.bintray.gradle.tasks.BintrayUploadTask
|
|
||||||
import org.jetbrains.dokka.gradle.DokkaTask
|
|
||||||
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
|
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
|
||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
@ -15,9 +13,17 @@ plugins {
|
|||||||
id("net.researchgate.release") version ("2.8.0")
|
id("net.researchgate.release") version ("2.8.0")
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
allprojects {
|
||||||
mavenCentral()
|
repositories {
|
||||||
jcenter()
|
mavenCentral()
|
||||||
|
jcenter()
|
||||||
|
}
|
||||||
|
|
||||||
|
plugins.withType<KotlinPluginWrapper> {
|
||||||
|
tasks.withType<KotlinCompile> {
|
||||||
|
kotlinOptions.jvmTarget = "1.8"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@ -29,12 +35,6 @@ dependencies {
|
|||||||
testImplementation(kotlin("test"))
|
testImplementation(kotlin("test"))
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<KotlinCompile> {
|
|
||||||
kotlinOptions {
|
|
||||||
jvmTarget = "1.8"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
val SourceSet.kotlin: SourceDirectorySet
|
val SourceSet.kotlin: SourceDirectorySet
|
||||||
get() = withConvention(KotlinSourceSet::class) { kotlin }
|
get() = withConvention(KotlinSourceSet::class) { kotlin }
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ repositories {
|
|||||||
dependencies {
|
dependencies {
|
||||||
val ktorVersion = "1.2.1"
|
val ktorVersion = "1.2.1"
|
||||||
|
|
||||||
implementation(project(":"))
|
implementation(rootProject)
|
||||||
implementation(kotlin("stdlib-jdk8"))
|
implementation(kotlin("stdlib-jdk8"))
|
||||||
implementation("ch.qos.logback:logback-classic:1.2.3")
|
implementation("ch.qos.logback:logback-classic:1.2.3")
|
||||||
implementation("io.ktor:ktor-server-core:$ktorVersion")
|
implementation("io.ktor:ktor-server-core:$ktorVersion")
|
||||||
|
Loading…
Reference in New Issue
Block a user