Big Chungus
04/03/2021, 4:19 PMallprojects
• Local test
module for shared test utilities (a helper function to run coroutine tests in common sourceSet included)
• Local sandbox
module for easy library consumer side checks
• Publication control to avoid multiple publications for targets that can be built on multiple hosts
• ktlint
plugin with automatic git-hooks
• refreshVersions
plugin for better version control
• Main host for publications can be changed via gradle.properties#project.mainOS
property
P.S. Commonizer breaks if I bump kotlin version to 1.5.0-M2, Might be something JB folks want to look into as a potential regression.Vampire
04/03/2021, 5:17 PMBig Chungus
04/03/2021, 5:45 PMVampire
04/03/2021, 6:01 PMBig Chungus
04/03/2021, 7:42 PMapply(from="another.build.gradle.kts")
Javier
04/03/2021, 7:56 PMJavier
04/03/2021, 7:56 PMJavier
04/03/2021, 7:56 PMBig Chungus
04/03/2021, 7:57 PMapply(plugin="some.plugin.id")
Javier
04/03/2021, 7:57 PMJavier
04/03/2021, 7:57 PMJavier
04/03/2021, 7:57 PMBig Chungus
04/03/2021, 8:00 PMplugins {
kotlin("multiplatform") version "420.69"
}
allprojects {
apply(plugin="org.jerbrains.kotlin.multiplatform")
kotlin {
explicitApi()
jvm()
js { nodejs() }
}
}
Vampire
04/03/2021, 8:19 PMbuildSrc
or how I prefer it in an included build. In such script plugins you can use the plugins block and also get type-safe accessors for these. They look almost the same as when writing a normal build script. And you apply them just as other plugins in the plugins block of the respective projects.Big Chungus
04/03/2021, 8:24 PMlouiscad
04/04/2021, 12:36 PMBig Chungus
04/04/2021, 12:38 PMlouiscad
04/04/2021, 12:40 PMBig Chungus
04/04/2021, 12:56 PMlouiscad
04/04/2021, 12:56 PMchristophsturm
04/04/2021, 2:57 PMchristophsturm
04/04/2021, 2:59 PMSettings->Build->Compiler->Excludes
christophsturm
04/04/2021, 2:59 PMlouiscad
04/04/2021, 6:44 PMchristophsturm
04/04/2021, 6:46 PMVampire
04/05/2021, 12:29 AMVampire
04/05/2021, 12:30 AMchristophsturm
04/05/2021, 10:35 AMJavier
04/05/2021, 12:22 PMBig Chungus
04/06/2021, 11:50 PM