NewsBlur-viq/clients/android/NewsBlur/build.gradle

88 lines
2.3 KiB
Groovy
Raw Normal View History

2016-04-06 17:47:26 -07:00
buildscript {
2021-04-25 20:39:44 -07:00
ext.kotlin_version = '1.4.32'
2016-04-06 17:47:26 -07:00
repositories {
mavenCentral()
2018-03-12 16:38:36 -07:00
maven {
url 'https://maven.google.com'
}
2016-04-06 17:47:26 -07:00
jcenter()
2018-04-30 14:56:11 -07:00
google()
2016-04-06 17:47:26 -07:00
}
dependencies {
2021-03-20 16:07:54 -07:00
classpath 'com.android.tools.build:gradle:4.1.3'
2020-09-07 18:31:46 -07:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2016-04-06 17:47:26 -07:00
}
}
repositories {
mavenCentral()
2018-03-12 16:38:36 -07:00
maven {
url 'https://maven.google.com'
}
2018-03-29 00:31:14 -07:00
jcenter()
2020-08-02 21:17:05 -07:00
google()
2016-04-06 17:47:26 -07:00
}
apply plugin: 'com.android.application'
2020-09-07 18:31:46 -07:00
apply plugin: 'kotlin-android'
2018-03-12 16:38:36 -07:00
apply plugin: 'checkstyle'
2016-04-06 17:47:26 -07:00
dependencies {
2020-09-07 18:31:46 -07:00
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
2021-04-25 20:39:44 -07:00
implementation 'androidx.fragment:fragment-ktx:1.3.3'
implementation 'androidx.recyclerview:recyclerview:1.2.0'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
2020-11-08 19:12:20 -08:00
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
implementation 'com.google.code.gson:gson:2.8.6'
2021-03-20 16:07:54 -07:00
implementation 'com.android.billingclient:billing:3.0.3'
2020-09-07 18:31:46 -07:00
implementation 'nl.dionsegijn:konfetti:1.2.2'
implementation 'com.github.jinatonic.confetti:confetti:1.1.2'
2021-03-20 16:07:54 -07:00
implementation 'com.google.android.play:core:1.10.0'
2021-02-20 18:38:36 -08:00
implementation "com.google.android.material:material:1.3.0"
implementation "androidx.preference:preference-ktx:1.1.1"
implementation "androidx.browser:browser:1.3.0"
2016-04-06 17:47:26 -07:00
}
android {
2021-01-30 13:32:28 -08:00
compileSdkVersion 30
defaultConfig {
applicationId "com.newsblur"
minSdkVersion 21
2021-01-30 13:32:28 -08:00
targetSdkVersion 30
2021-05-10 15:02:53 -04:00
versionCode 190
versionName "11.0b4"
}
compileOptions.with {
2020-08-04 17:26:51 -07:00
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
2020-08-02 21:17:05 -07:00
android.buildFeatures.viewBinding = true
android.buildFeatures.dataBinding = true
2018-03-12 16:38:36 -07:00
2016-04-06 17:47:26 -07:00
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
}
2018-03-12 16:38:36 -07:00
2016-04-06 17:47:26 -07:00
lintOptions {
abortOnError false
}
2018-03-12 16:38:36 -07:00
2016-04-06 17:47:26 -07:00
buildTypes {
debug {
minifyEnabled false
shrinkResources false
}
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
}
}
}