File tree Expand file tree Collapse file tree 7 files changed +22
-17
lines changed
src/main/java/com/github/zagum/expandicon/sample
src/main/java/com/github/zagum/expandicon Expand file tree Collapse file tree 7 files changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ buildscript {
44 google()
55 }
66 dependencies {
7- classpath ' com.android.tools.build:gradle:3.0.0 '
7+ classpath ' com.android.tools.build:gradle:3.6.3 '
88 }
99}
1010
@@ -16,14 +16,15 @@ allprojects {
1616}
1717
1818ext {
19- compileSdkVersion = 26
20- buildToolsVersion = ' 27 .0.0 '
19+ compileSdkVersion = 29
20+ buildToolsVersion = ' 29 .0.2 '
2121 minSdkVersion = 15
2222 targetSdkVersion = compileSdkVersion
2323
24- supportLibVersion = ' 27.0.0'
24+ appcompatLibVersion = ' 1.1.0'
25+ annotationLibVersion = ' 1.1.0'
2526}
2627
2728task clean (type : Delete ) {
2829 delete rootProject. buildDir
29- }
30+ }
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
22
33dependencies {
4- compile project(' :expandicon' )
5- compile " com.android.support :appcompat-v7: $s upportLibVersion "
4+ implementation project(' :expandicon' )
5+ implementation( " androidx.appcompat :appcompat: $a ppcompatLibVersion " )
66}
77
88android {
@@ -18,4 +18,4 @@ android {
1818
1919 vectorDrawables. useSupportLibrary = true
2020 }
21- }
21+ }
Original file line number Diff line number Diff line change 11package com .github .zagum .expandicon .sample ;
22
33import android .os .Bundle ;
4- import android .support .v7 .app .AppCompatActivity ;
54import android .view .GestureDetector ;
65import android .view .MotionEvent ;
76import android .view .View ;
87
8+ import androidx .appcompat .app .AppCompatActivity ;
9+
910import com .github .zagum .expandicon .ExpandIconView ;
1011
1112public class SampleActivity extends AppCompatActivity implements GestureDetector .OnGestureListener {
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22
33dependencies {
4- compile " com.android.support:appcompat-v7: $s upportLibVersion "
4+ implementation( " androidx.annotation:annotation: $a nnotationLibVersion " )
55}
66
77android {
@@ -11,4 +11,4 @@ android {
1111 defaultConfig {
1212 minSdkVersion rootProject. ext. minSdkVersion
1313 }
14- }
14+ }
Original file line number Diff line number Diff line change 2626import android .graphics .Path ;
2727import android .graphics .Point ;
2828import 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 ;
3329import android .util .AttributeSet ;
3430import android .view .View ;
3531import android .view .animation .DecelerateInterpolator ;
3632
33+ import androidx .annotation .FloatRange ;
34+ import androidx .annotation .IntDef ;
35+ import androidx .annotation .NonNull ;
36+ import androidx .annotation .Nullable ;
37+
3738import java .lang .annotation .Retention ;
3839import java .lang .annotation .RetentionPolicy ;
3940
Original file line number Diff line number Diff line change @@ -15,3 +15,5 @@ org.gradle.jvmargs=-Xmx1536m
1515# This option should only be used with decoupled projects. More details, visit
1616# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1717# 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
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =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