SpotiFlyer/buildSrc/build.gradle.kts

48 lines
1.2 KiB
Plaintext
Raw Normal View History

2021-01-26 13:54:28 +01:00
plugins {
`kotlin-dsl`
`kotlin-dsl-precompiled-script-plugins`
}
group = "com.shabinder"
version = "2.1"
buildscript{
repositories {
// TODO: remove after new build is published
mavenLocal()
google()
jcenter()
2021-01-30 15:10:31 +01:00
maven(url = "https://jitpack.io")
2021-01-26 13:54:28 +01:00
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
dependencies {
classpath("com.android.tools.build:gradle:4.0.2")
classpath(JetBrains.Compose.gradlePlugin)
classpath(JetBrains.Kotlin.gradlePlugin)
}
}
repositories {
2021-01-30 15:10:31 +01:00
maven(url = "https://jitpack.io")
jcenter()
2021-01-26 13:54:28 +01:00
mavenLocal()
google()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
dependencies {
implementation("com.android.tools.build:gradle:4.0.2")
implementation(JetBrains.Compose.gradlePlugin)
implementation(JetBrains.Kotlin.gradlePlugin)
implementation(JetBrains.Kotlin.serialization)
implementation(SqlDelight.gradlePlugin)
}
kotlinDslPluginOptions {
experimentalWarning.set(false)
}
kotlin {
// Add Deps to compilation, so it will become available in main project
sourceSets.getByName("main").kotlin.srcDir("buildSrc/src/main/kotlin")
}