@@ -7,7 +7,6 @@ android {
7
7
}
8
8
9
9
compileSdkVersion Integer . parseInt(ANDROID_COMPILE_SDK_VERSION )
10
- buildToolsVersion project. ANDROID_BUILD_TOOLS_VERSION
11
10
12
11
dexOptions {
13
12
maxProcessCount 2
@@ -17,11 +16,11 @@ android {
17
16
defaultConfig {
18
17
applicationId " com.ashokvarma.bottomnavigation.sample"
19
18
minSdkVersion Integer . parseInt(ANDROID_MIN_SDK_VERSION )
20
- targetSdkVersion Integer . parseInt( ANDROID_BUILD_TARGET_SDK_VERSION )
19
+ targetSdkVersion 29
21
20
versionCode Integer . parseInt(APP_VERSION_CODE )
22
21
versionName project. APP_VERSION_NAME
23
22
24
- testInstrumentationRunner ' android.support .test.runner.AndroidJUnitRunner'
23
+ testInstrumentationRunner ' androidx .test.runner.AndroidJUnitRunner'
25
24
}
26
25
buildTypes {
27
26
release {
@@ -34,34 +33,30 @@ android {
34
33
}
35
34
}
36
35
compileOptions {
37
- sourceCompatibility JavaVersion . VERSION_1_7
38
- targetCompatibility JavaVersion . VERSION_1_7
36
+ sourceCompatibility JavaVersion . VERSION_1_8
37
+ targetCompatibility JavaVersion . VERSION_1_8
39
38
}
40
39
}
41
40
42
41
repositories {
43
42
mavenCentral()
44
43
}
45
44
46
- ext {
47
- supportLibraryVersion = project. ANDROID_SUPPORT_LIBRARY_VERSION
48
- }
49
-
50
45
dependencies {
51
46
testImplementation ' junit:junit:4.12'
52
- implementation " com.android.support :appcompat-v7: ${ supportLibraryVersion } "
53
- implementation " com.android.support:design: ${ supportLibraryVersion } "
47
+ implementation ' androidx.appcompat :appcompat:1.1.0 '
48
+ implementation ' com.google. android.material:material:1.2.0-alpha05 '
54
49
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
55
50
implementation project(' :bottom-navigation-bar' )
56
51
57
52
// Testing-only dependencies
58
53
// Android testing support library's runner and rules
59
- androidTestImplementation ' com.android.support. test:runner:1.0.2 '
60
- androidTestImplementation ' com.android.support. test:rules:1.0.2 '
54
+ androidTestImplementation ' androidx. test:runner:1.2.0 '
55
+ androidTestImplementation ' androidx. test:rules:1.2.0 '
61
56
// Force usage of support annotations in the test app, since it is internally used by the runner module.
62
57
// to avoid Conflict with dependency 'com.android.support:support-annotations'. Resolved versions for app (23.4.0) and test app (23.1.1) differ.
63
- androidTestImplementation " com.android.support:support-annotations: ${ supportLibraryVersion } "
58
+ androidTestImplementation ' androidx.annotation:annotation:1.1.0 '
64
59
65
60
// Espresso Ui Testing dependencies
66
- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 '
61
+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.2.0 '
67
62
}
0 commit comments