PeopleInSpace/build.gradle.kts

45 lines
1.5 KiB
Text
Raw Permalink Normal View History

2020-02-09 11:42:41 +00:00
buildscript {
2021-11-19 22:48:02 +00:00
val kotlinVersion: String by project
println(kotlinVersion)
2020-02-09 11:42:41 +00:00
repositories {
google()
mavenCentral()
gradlePluginPortal()
2021-06-20 12:52:13 +00:00
maven(uri("https://plugins.gradle.org/m2/")) // For kotlinter-gradle
2020-02-09 11:42:41 +00:00
}
2020-02-09 11:42:41 +00:00
dependencies {
2021-07-24 18:12:38 +00:00
// keeping this here to allow AS to automatically update
2022-01-25 18:56:33 +00:00
classpath("com.android.tools.build:gradle:7.1.0")
2021-11-19 22:48:02 +00:00
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
classpath("org.jetbrains.kotlin:kotlin-serialization:${kotlinVersion}")
2021-07-24 18:12:38 +00:00
with(Deps.Gradle) {
classpath(sqlDelight)
classpath(shadow)
classpath(kotlinter)
2021-09-17 19:04:32 +00:00
classpath(gradleVersionsPlugin)
classpath("com.rickclephas.kmp:kmp-nativecoroutines-gradle-plugin:${Versions.kmpNativeCoroutinesVersion}")
}
2021-06-19 09:06:01 +00:00
}
2020-02-09 11:42:41 +00:00
}
allprojects {
apply(plugin = "org.jmailen.kotlinter")
2021-06-19 09:06:01 +00:00
2020-02-09 11:42:41 +00:00
repositories {
google()
mavenCentral()
maven(url = "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-js-wrappers")
2020-10-28 21:19:44 +00:00
maven(url = "https://jitpack.io")
2021-11-19 22:48:02 +00:00
maven(url = "https://maven.pkg.jetbrains.space/public/p/kotlinx-coroutines/maven")
2020-02-09 11:42:41 +00:00
}
}
// On Apple Silicon we need Node.js 16.0.0
// https://youtrack.jetbrains.com/issue/KT-49109
rootProject.plugins.withType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin::class) {
rootProject.the(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension::class).nodeVersion = "16.0.0"
2021-06-20 09:32:24 +00:00
}