buildscript { ext.versions = [ kotlin: '1.7.20', dokka: '1.7.20', conscrypt: '2.5.2' ] repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.3.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}" classpath "org.jetbrains.dokka:dokka-gradle-plugin:${versions.dokka}" } } repositories { google() mavenCentral() } apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlin-kapt' apply plugin: 'org.jetbrains.dokka' android { namespace "at.bitfire.cert4android" compileSdkVersion 33 buildToolsVersion '33.0.0' defaultConfig { minSdkVersion 21 // Android 5 targetSdkVersion 32 // Android 12v2 } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } buildFeatures.dataBinding = true lint { disable 'MissingTranslation', 'ExtraTranslation' } defaultConfig { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}" implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' implementation 'com.google.android.material:material:1.7.0' implementation "org.conscrypt:conscrypt-android:${versions.conscrypt}" androidTestImplementation 'androidx.test:runner:1.4.0' androidTestImplementation 'androidx.test:rules:1.4.0' androidTestImplementation 'com.squareup.okhttp3:mockwebserver:4.10.0' testImplementation 'junit:junit:4.13.2' }