Skip to content

Commit

Permalink
add kotlin support
Browse files Browse the repository at this point in the history
  • Loading branch information
CMingTseng committed Oct 22, 2022
1 parent acbbc7b commit 07c02dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ buildscript {
ext {
agp_gradle = '7.0.4'
android_gradle_plugin_version = agp_gradle
kotlin_version = "1.7.20"
// coroutine
coroutine_version = "1.6.0"
kotlin_coroutines_version = coroutine_version
}
repositories {
gradlePluginPortal()
Expand All @@ -11,13 +15,15 @@ buildscript {
}
dependencies {
classpath "com.android.tools.build:gradle:$agp_gradle"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down

0 comments on commit 07c02dc

Please sign in to comment.