@ -11,16 +11,16 @@ def getVersionName = { ->
android {
compileSdkVersion 2 8
buildToolsVersion "2 8.0.3 "
compileSdkVersion 2 9
buildToolsVersion "2 9.0.2 "
defaultConfig {
applicationId "org.xbmc.kore"
minSdkVersion 15
targetSdkVersion 2 8
targetSdkVersion 2 9
versionCode 26
versionName = getVersionName ( )
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
def supportedLocales = [ "en" , "ast" , "ru" , "it" , "ca" , "cs" , "zh-CN" , "ja" , "pt" , "pt-BR" ,
"pl" , "sl" , "sk" , "lt" , "eu" , "iw" , "fr" , "es" , "hr" , "hu" , "nl" ,
@ -46,12 +46,20 @@ android {
}
testOptions {
execution 'ANDROID _TEST_ORCHESTRATOR'
execution 'ANDROID X _TEST_ORCHESTRATOR'
unitTests {
includeAndroidResources = true
}
}
/ *
* This is just to enable Java 8 in the app
* /
compileOptions {
sourceCompatibility JavaVersion . VERSION_1_8
targetCompatibility JavaVersion . VERSION_1_8
}
buildTypes {
release {
if ( keystoreFile . exists ( ) ) {
@ -99,18 +107,18 @@ ext {
}
dependencies {
implementation "com.android.support:support-v4:${supportLibVersion}"
implementation "com.android.support:appcompat-v7:${supportLibVersion}"
implementation "com.android.support:cardview-v7:${supportLibVersion}"
implementation "com.android.support:preference-v14:${supportLibVersion}"
implementation "com.android.support:support-v13:${supportLibVersion}"
implementation "com.android.support:design:${supportLibVersion}"
implementation "com.android.support:recyclerview-v7:${supportLibVersion}"
implementation "com.android.support.constraint:constraint-layout:1.1.3"
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.5.2'
implementation 'com.jakewharton:butterknife: 8.8 .1'
annotationProcessor 'com.jakewharton:butterknife-compiler: 8.8 .1'
implementation 'com.jakewharton:butterknife: 10.2 .1'
annotationProcessor 'com.jakewharton:butterknife-compiler: 10.2 .1'
implementation 'com.squareup.okhttp:okhttp:2.3.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'de.greenrobot:eventbus:2.4.0'
@ -120,13 +128,13 @@ dependencies {
implementation 'com.simplecityapps:recyclerview-fastscroll:1.0.20'
implementation 'org.nanohttpd:nanohttpd:2.3.1'
androidTestImplementation ' com.android.support.test:runner:1.0.2 '
androidTestImplementation ' com.android.support.test:rules:1.0.2 '
androidTestUtil ' com.android.support.test:orchestrator:1.0.2 '
androidTestImplementation ' androidx.test.ext:junit:1.1.1 '
androidTestImplementation ' androidx.test:rules:1.1.1 '
androidTestUtil ' androidx.test:orchestrator:1.1.1 '
androidTestImplementation 'org.hamcrest:hamcrest-library:1.3'
androidTestImplementation ' com.android.support.test.espresso:espresso-core:3.0.2 '
androidTestImplementation ' com.android.support.test.espresso:espresso-contrib:3.0.2 '
androidTestImplementation "com.android.support:support-v13:${supportLibVersion}"
androidTestImplementation ' androidx.test.espresso:espresso-core:3.1.0 '
androidTestImplementation ' androidx.test.espresso:espresso-contrib:3.1.0 '
androidTestImplementation 'androidx.legacy:legacy-support-v13:1.0.0'
androidTestImplementation 'junit:junit:4.12'
testImplementation 'org.robolectric:robolectric:4.3'