buildscript { ext.kotlin_version = "1.9.22" repositories { google() mavenCentral() } dependencies { classpath "com.android.tools.build:gradle:8.1.0" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" } } repositories { google() mavenCentral() flatDir { dirs 'libs' } } apply plugin: 'kotlin-android' apply plugin: 'com.android.application' apply plugin: 'org.jetbrains.kotlin.plugin.serialization' android { ndkVersion "23.1.7779620" compileSdkVersion 33 defaultConfig { minSdkVersion 22 targetSdkVersion 33 versionCode 198 versionName "1.59.53-t0f042b981-g1017015de26" } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } flavorDimensions "version" productFlavors { fdroid { // The fdroid flavor contains only free dependencies and is suitable // for the F-Droid app store. } play { // The play flavor contains all features and is for the Play Store. } } namespace 'com.tailscale.ipn' } dependencies { implementation "androidx.core:core:1.9.0" implementation 'androidx.core:core-ktx:1.9.0' implementation "androidx.browser:browser:1.5.0" implementation "androidx.security:security-crypto:1.1.0-alpha06" implementation "androidx.work:work-runtime:2.8.1" implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation ':ipn@aar' testImplementation "junit:junit:4.12" // Non-free dependencies. playImplementation 'com.google.android.gms:play-services-auth:20.7.0' }