File tree 9 files changed +28
-31
lines changed
androidTest/java/iammert/com/expandablelayout
main/java/iammert/com/expandablelayout
androidTest/java/iammert/com/expandablelib
main/java/iammert/com/expandablelib 9 files changed +28
-31
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
3
3
android {
4
- compileSdkVersion 25
5
- buildToolsVersion ' 26.0.2'
4
+ compileSdkVersion 28
6
5
defaultConfig {
7
6
applicationId " iammert.com.expandablelayout"
8
7
minSdkVersion 14
9
- targetSdkVersion 25
8
+ targetSdkVersion 28
10
9
versionCode 1
11
10
versionName " 1.0"
12
- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
11
+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
13
12
}
14
13
buildTypes {
15
14
release {
@@ -25,12 +24,11 @@ android {
25
24
}
26
25
27
26
dependencies {
28
- compile fileTree(include : [' *.jar' ], dir : ' libs' )
29
- androidTestCompile( ' com.android.support. test.espresso:espresso-core:2.2.2 ' , {
27
+ implementation fileTree(include : [' *.jar' ], dir : ' libs' )
28
+ androidTestImplementation( ' androidx. test.espresso:espresso-core:3.1.0-alpha4 ' , {
30
29
exclude group : ' com.android.support' , module : ' support-annotations'
31
30
})
32
- compile ' com.android.support:appcompat-v7:25.+'
33
- testCompile ' junit:junit:4.12'
34
- compile project(' :expandablelib' )
35
-
31
+ implementation ' androidx.appcompat:appcompat:1.0.0-rc01'
32
+ testImplementation ' junit:junit:4.12'
33
+ implementation project(' :expandablelib' )
36
34
}
Original file line number Diff line number Diff line change 1
1
package iammert .com .expandablelayout ;
2
2
3
3
import android .content .Context ;
4
- import android . support .test .InstrumentationRegistry ;
5
- import android . support .test .runner .AndroidJUnit4 ;
4
+ import androidx .test .InstrumentationRegistry ;
5
+ import androidx .test .runner .AndroidJUnit4 ;
6
6
7
7
import org .junit .Test ;
8
8
import org .junit .runner .RunWith ;
Original file line number Diff line number Diff line change 1
1
package iammert .com .expandablelayout ;
2
2
3
3
import android .os .Bundle ;
4
- import android . support . v7 .app .AppCompatActivity ;
4
+ import androidx . appcompat .app .AppCompatActivity ;
5
5
import android .text .Editable ;
6
6
import android .text .TextWatcher ;
7
7
import android .view .View ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ buildscript {
7
7
jcenter()
8
8
}
9
9
dependencies {
10
- classpath ' com.android.tools.build:gradle:3.0.0 '
10
+ classpath ' com.android.tools.build:gradle:3.2.0-rc01 '
11
11
12
12
// NOTE: Do not place your application dependencies here; they belong
13
13
// in the individual module build.gradle files
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
3
-
4
3
android {
5
- compileSdkVersion 25
6
- buildToolsVersion ' 26.0.2'
7
-
4
+ compileSdkVersion 28
8
5
9
6
defaultConfig {
10
7
minSdkVersion 14
11
- targetSdkVersion 25
8
+ targetSdkVersion 28
12
9
versionCode 1
13
10
versionName " 1.0"
14
11
15
- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
12
+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
16
13
17
14
}
18
15
buildTypes {
@@ -24,11 +21,11 @@ android {
24
21
}
25
22
26
23
dependencies {
27
- compile fileTree(dir : ' libs' , include : [' *.jar' ])
28
- androidTestCompile( ' com.android.support. test.espresso:espresso-core:2.2.2 ' , {
24
+ implementation fileTree(dir : ' libs' , include : [' *.jar' ])
25
+ androidTestImplementation( ' androidx. test.espresso:espresso-core:3.1.0-alpha4 ' , {
29
26
exclude group : ' com.android.support' , module : ' support-annotations'
30
27
})
31
28
32
- compile ' com.android.support:support-annotations:25.2.0 '
33
- testCompile ' junit:junit:4.12'
29
+ implementation ' androidx.annotation:annotation:1.0.0-rc01 '
30
+ testImplementation ' junit:junit:4.12'
34
31
}
Original file line number Diff line number Diff line change 1
1
package iammert .com .expandablelib ;
2
2
3
3
import android .content .Context ;
4
- import android . support .test .InstrumentationRegistry ;
5
- import android . support .test .runner .AndroidJUnit4 ;
4
+ import androidx .test .InstrumentationRegistry ;
5
+ import androidx .test .runner .AndroidJUnit4 ;
6
6
7
7
import org .junit .Test ;
8
8
import org .junit .runner .RunWith ;
Original file line number Diff line number Diff line change 4
4
import android .content .Context ;
5
5
import android .content .res .TypedArray ;
6
6
import android .os .Build ;
7
- import android . support .annotation .LayoutRes ;
8
- import android . support .annotation .NonNull ;
9
- import android . support .annotation .Nullable ;
7
+ import androidx .annotation .LayoutRes ;
8
+ import androidx .annotation .NonNull ;
9
+ import androidx .annotation .Nullable ;
10
10
import android .util .AttributeSet ;
11
11
import android .view .LayoutInflater ;
12
12
import android .view .View ;
Original file line number Diff line number Diff line change 9
9
10
10
# Specifies the JVM arguments used for the daemon process.
11
11
# The setting is particularly useful for tweaking memory settings.
12
+ android.enableJetifier =true
13
+ android.useAndroidX =true
12
14
org.gradle.jvmargs =-Xmx1536m
13
15
14
16
# When configured, Gradle will run in incubating parallel mode.
Original file line number Diff line number Diff line change 1
- # Mon Nov 27 19:13:49 EET 2017
1
+ # Thu Aug 23 14:26:53 CDT 2018
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.1-all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.9-rc- 1-all.zip
You can’t perform that action at this time.
0 commit comments