Skip to content

Commit

Permalink
android: add ktfmt to gradle (#226)
Browse files Browse the repository at this point in the history
Updates tailscale/corp#18202

Signed-off-by: kari-ts <[email protected]>
  • Loading branch information
kari-ts authored Mar 21, 2024
1 parent 7470fcc commit 72753bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ buildscript {
repositories {
google()
mavenCentral()
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath "com.android.tools.build:gradle:8.1.4"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
classpath("com.ncorti.ktfmt.gradle:plugin:0.17.0")
}
}

Expand All @@ -24,6 +28,7 @@ repositories {
apply plugin: 'kotlin-android'
apply plugin: 'com.android.application'
apply plugin: 'org.jetbrains.kotlin.plugin.serialization'
apply plugin: 'com.ncorti.ktfmt.gradle'

android {
ndkVersion "23.1.7779620"
Expand Down

0 comments on commit 72753bb

Please sign in to comment.