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