android: add ktfmt to gradle (#226)

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
pull/232/head
kari-ts 8 months ago committed by GitHub
parent 7470fcc173
commit 72753bb82a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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")
}
}
@ -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"

Loading…
Cancel
Save