Skip to content

Instantly share code, notes, and snippets.

@rpmoore
Last active December 2, 2018 06:45
Show Gist options
  • Save rpmoore/fee166cfff7e6931afe4ccdb5513303c to your computer and use it in GitHub Desktop.
Save rpmoore/fee166cfff7e6931afe4ccdb5513303c to your computer and use it in GitHub Desktop.
Multi-project build with attempt to configure java spec for all the subprojects
plugins {
kotlin("jvm") version "1.3.10" apply false
}
allprojects {
group = "rpmoore.example"
version = "0.0.1-SNAPSHOT"
}
subprojects {
apply(plugin = "java")
apply(plugin = "kotlin")
java {
sourceCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
"implementation"(kotlin("stdlib"))
"implementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.0.1")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment