Last active
December 2, 2018 06:45
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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