File tree 7 files changed +22
-17
lines changed
src/main/java/com/github/zagum/expandicon
src/main/java/com/github/zagum/expandicon/sample
7 files changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ buildscript {
4
4
google()
5
5
}
6
6
dependencies {
7
- classpath ' com.android.tools.build:gradle:3.0.0 '
7
+ classpath ' com.android.tools.build:gradle:3.6.3 '
8
8
}
9
9
}
10
10
@@ -16,14 +16,15 @@ allprojects {
16
16
}
17
17
18
18
ext {
19
- compileSdkVersion = 26
20
- buildToolsVersion = ' 27 .0.0 '
19
+ compileSdkVersion = 29
20
+ buildToolsVersion = ' 29 .0.2 '
21
21
minSdkVersion = 15
22
22
targetSdkVersion = compileSdkVersion
23
23
24
- supportLibVersion = ' 27.0.0'
24
+ appcompatLibVersion = ' 1.1.0'
25
+ annotationLibVersion = ' 1.1.0'
25
26
}
26
27
27
28
task clean (type : Delete ) {
28
29
delete rootProject. buildDir
29
- }
30
+ }
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
3
3
dependencies {
4
- compile project(' :expandicon' )
5
- compile " com.android.support :appcompat-v7: $s upportLibVersion "
4
+ implementation project(' :expandicon' )
5
+ implementation( " androidx.appcompat :appcompat: $a ppcompatLibVersion " )
6
6
}
7
7
8
8
android {
@@ -18,4 +18,4 @@ android {
18
18
19
19
vectorDrawables. useSupportLibrary = true
20
20
}
21
- }
21
+ }
Original file line number Diff line number Diff line change 1
1
package com .github .zagum .expandicon .sample ;
2
2
3
3
import android .os .Bundle ;
4
- import android .support .v7 .app .AppCompatActivity ;
5
4
import android .view .GestureDetector ;
6
5
import android .view .MotionEvent ;
7
6
import android .view .View ;
8
7
8
+ import androidx .appcompat .app .AppCompatActivity ;
9
+
9
10
import com .github .zagum .expandicon .ExpandIconView ;
10
11
11
12
public class SampleActivity extends AppCompatActivity implements GestureDetector .OnGestureListener {
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
3
3
dependencies {
4
- compile " com.android.support:appcompat-v7: $s upportLibVersion "
4
+ implementation( " androidx.annotation:annotation: $a nnotationLibVersion " )
5
5
}
6
6
7
7
android {
@@ -11,4 +11,4 @@ android {
11
11
defaultConfig {
12
12
minSdkVersion rootProject. ext. minSdkVersion
13
13
}
14
- }
14
+ }
Original file line number Diff line number Diff line change 26
26
import android .graphics .Path ;
27
27
import android .graphics .Point ;
28
28
import android .os .Build ;
29
- import android .support .annotation .FloatRange ;
30
- import android .support .annotation .IntDef ;
31
- import android .support .annotation .NonNull ;
32
- import android .support .annotation .Nullable ;
33
29
import android .util .AttributeSet ;
34
30
import android .view .View ;
35
31
import android .view .animation .DecelerateInterpolator ;
36
32
33
+ import androidx .annotation .FloatRange ;
34
+ import androidx .annotation .IntDef ;
35
+ import androidx .annotation .NonNull ;
36
+ import androidx .annotation .Nullable ;
37
+
37
38
import java .lang .annotation .Retention ;
38
39
import java .lang .annotation .RetentionPolicy ;
39
40
Original file line number Diff line number Diff line change @@ -15,3 +15,5 @@ org.gradle.jvmargs=-Xmx1536m
15
15
# This option should only be used with decoupled projects. More details, visit
16
16
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17
17
# org.gradle.parallel=true
18
+
19
+ android.useAndroidX =true
Original file line number Diff line number Diff line change 1
- # Tue Oct 31 10:58:26 MSK 2017
1
+ # Fri May 22 11:37:18 CEST 2020
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-6.1 .1-all.zip
You can’t perform that action at this time.
0 commit comments