2019-11-24 15:29:05 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
|
|
android {
|
2019-12-08 19:17:20 +01:00
|
|
|
compileSdkVersion 28
|
2019-11-24 15:29:05 +01:00
|
|
|
buildToolsVersion "29.0.2"
|
2019-12-08 19:17:20 +01:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2019-11-24 15:29:05 +01:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "pl.edu.amu.wmi.socialaggregator"
|
|
|
|
minSdkVersion 21
|
2019-12-08 19:17:20 +01:00
|
|
|
targetSdkVersion 28
|
2019-11-24 15:29:05 +01:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2019-12-12 21:23:11 +01:00
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
testOptions {
|
|
|
|
unitTests {
|
|
|
|
includeAndroidResources = true
|
|
|
|
}
|
|
|
|
}
|
2019-11-24 15:29:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
2019-12-08 19:17:20 +01:00
|
|
|
implementation 'com.android.support:appcompat-v7:28.1.0'
|
|
|
|
implementation 'com.android.support:design:28.1.0'
|
2019-12-08 19:02:08 +01:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
|
|
implementation 'androidx.core:core-ktx:1.1.0'
|
2019-11-24 15:29:05 +01:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
|
implementation "io.reactivex.rxjava2:rxjava:2.2.2"
|
|
|
|
implementation "io.reactivex.rxjava2:rxandroid:2.1.0"
|
|
|
|
implementation 'com.jakewharton.rxbinding2:rxbinding:2.2.0'
|
|
|
|
implementation 'com.jakewharton.rxbinding2:rxbinding-appcompat-v7:2.2.0'
|
2019-12-08 19:02:08 +01:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
2019-12-12 21:23:11 +01:00
|
|
|
|
|
|
|
androidTestImplementation 'androidx.test:core-ktx:1.2.0'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:' + rootProject.extJUnitVersion
|
|
|
|
androidTestImplementation 'androidx.test:runner:' + rootProject.runnerVersion
|
|
|
|
androidTestImplementation 'androidx.test:rules:' + rootProject.rulesVersion
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:' + rootProject.espressoVersion
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-intents:' + rootProject.espressoVersion
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-contrib:' + rootProject.espressoVersion
|
|
|
|
androidTestImplementation 'androidx.test.ext:truth:' + rootProject.extTruthVersion
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:' + rootProject.extJUnitVersion
|
|
|
|
androidTestImplementation 'org.robolectric:annotations:' + rootProject.robolectricVersion
|
|
|
|
|
|
|
|
testImplementation 'androidx.test:core:' + rootProject.coreVersion
|
|
|
|
testImplementation 'androidx.test.ext:junit:' + rootProject.extJUnitVersion
|
|
|
|
testImplementation 'androidx.test.espresso:espresso-core:' + rootProject.espressoVersion
|
|
|
|
testImplementation 'androidx.test.espresso:espresso-intents:' + rootProject.espressoVersion
|
|
|
|
testImplementation 'androidx.test.espresso:espresso-contrib:' + rootProject.espressoVersion
|
|
|
|
testImplementation 'androidx.test.ext:truth:' + rootProject.extTruthVersion
|
|
|
|
testImplementation 'androidx.test.ext:junit:' + rootProject.extJUnitVersion
|
|
|
|
testImplementation 'org.robolectric:robolectric:' + rootProject.robolectricVersion
|
2019-11-24 15:29:05 +01:00
|
|
|
}
|