buildscript { ext.kotlin_version = '1.4.32' repositories { mavenCentral() maven { url 'https://maven.google.com' } jcenter() google() } dependencies { classpath 'com.android.tools.build:gradle:4.1.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } repositories { mavenCentral() maven { url 'https://maven.google.com' } jcenter() google() } apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'checkstyle' dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.fragment:fragment-ktx:1.3.3' implementation 'androidx.recyclerview:recyclerview:1.2.0' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'com.squareup.okhttp3:okhttp:4.9.0' implementation 'com.google.code.gson:gson:2.8.6' implementation 'com.android.billingclient:billing:3.0.3' implementation 'nl.dionsegijn:konfetti:1.2.2' implementation 'com.github.jinatonic.confetti:confetti:1.1.2' implementation 'com.google.android.play:core:1.10.0' implementation "com.google.android.material:material:1.3.0" implementation "androidx.preference:preference-ktx:1.1.1" implementation "androidx.browser:browser:1.3.0" } android { compileSdkVersion 30 defaultConfig { applicationId "com.newsblur" minSdkVersion 21 targetSdkVersion 30 versionCode 190 versionName "11.0b4" } compileOptions.with { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } android.buildFeatures.viewBinding = true android.buildFeatures.dataBinding = true sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src'] res.srcDirs = ['res'] assets.srcDirs = ['assets'] } } lintOptions { abortOnError false } buildTypes { debug { minifyEnabled false shrinkResources false } release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt' } } }