File tree Expand file tree Collapse file tree 13 files changed +41
-39
lines changed
java/com/nmaltais/calcdialoglib
java/com/nmaltais/calcdialog Expand file tree Collapse file tree 13 files changed +41
-39
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
22
33android {
4- compileSdkVersion 27
4+ compileSdkVersion 28
55 defaultConfig {
66 applicationId " com.nmaltais.calcdialoglib"
77 minSdkVersion 16
8- targetSdkVersion 27
8+ targetSdkVersion 28
99 versionCode 1
1010 versionName " 1.0"
11- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
11+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
1212 }
1313 buildTypes {
1414 release {
1515 minifyEnabled false
1616 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
1717 }
1818 }
19- buildToolsVersion ' 27 .0.3'
19+ buildToolsVersion ' 28 .0.3'
2020}
2121
2222dependencies {
2323 testImplementation ' junit:junit:4.12'
24- androidTestImplementation ' com.android.support. test:runner:1.0.2 '
25- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 '
24+ androidTestImplementation ' androidx. test:runner:1.1.1 '
25+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.1.1 '
2626
27- implementation ' com.android.support :appcompat-v7:27. 1.1'
28- implementation ' com.android.support.constraint:constraint-layout:1.1.3 '
27+ implementation ' androidx.appcompat :appcompat: 1.1.0-alpha01 '
28+ implementation ' androidx.constraintlayout:constraintlayout:2.0.0-alpha3 '
2929
3030 implementation project(' :calcdialog' )
3131}
Original file line number Diff line number Diff line change 2222package com .nmaltais .calcdialoglib ;
2323
2424import android .os .Bundle ;
25- import android . support .annotation .Nullable ;
26- import android . support . v4 .app .FragmentManager ;
27- import android . support . v7 .app .AppCompatActivity ;
25+ import androidx .annotation .Nullable ;
26+ import androidx . fragment .app .FragmentManager ;
27+ import androidx . appcompat .app .AppCompatActivity ;
2828import android .view .View ;
2929import android .widget .Button ;
3030import android .widget .CheckBox ;
Original file line number Diff line number Diff line change 2020 under the License.
2121 -->
2222
23- <android .support.constraint .ConstraintLayout
23+ <androidx .constraintlayout.widget .ConstraintLayout
2424 xmlns : android =" http://schemas.android.com/apk/res/android"
2525 xmlns : app =" http://schemas.android.com/apk/res-auto"
2626 xmlns : tools =" http://schemas.android.com/tools"
249249 tools : ignore =" LabelFor"
250250 />
251251
252- </android .support.constraint .ConstraintLayout>
252+ </androidx .constraintlayout.widget .ConstraintLayout>
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ buildscript {
77 jcenter()
88 }
99 dependencies {
10- classpath ' com.android.tools.build:gradle:3.1.4 '
10+ classpath ' com.android.tools.build:gradle:3.2.1 '
1111 classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
1212 classpath ' com.github.dcendents:android-maven-gradle-plugin:1.5'
1313
Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ ext {
2424}
2525
2626android {
27- compileSdkVersion 27
27+ compileSdkVersion 28
2828 defaultConfig {
2929 minSdkVersion 16
30- targetSdkVersion 27
30+ targetSdkVersion 28
3131 versionCode libraryVersionCode
3232 versionName libraryVersion
3333
34- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
34+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
3535
3636 }
3737 buildTypes {
@@ -44,16 +44,16 @@ android {
4444 abortOnError false
4545 }
4646
47- buildToolsVersion ' 27 .0.3'
47+ buildToolsVersion ' 28 .0.3'
4848}
4949
5050dependencies {
5151 testImplementation ' junit:junit:4.12'
52- androidTestImplementation ' com.android.support. test:runner:1.0.2 '
53- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 '
52+ androidTestImplementation ' androidx. test:runner:1.1.1 '
53+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.1.1 '
5454
55- implementation ' com.android.support :appcompat-v7:27. 1.1'
56- implementation ' com.android.support.constraint:constraint-layout:1.1.3 '
55+ implementation ' androidx.appcompat :appcompat: 1.1.0-alpha01 '
56+ implementation ' androidx.constraintlayout:constraintlayout:2.0.0-alpha3 '
5757}
5858
5959apply from : ' maven-install.gradle'
Original file line number Diff line number Diff line change 3030import android .graphics .Rect ;
3131import android .os .Build ;
3232import android .os .Bundle ;
33- import android . support .annotation .NonNull ;
34- import android . support .annotation .Nullable ;
35- import android . support . v7 .app .AppCompatDialogFragment ;
33+ import androidx .annotation .NonNull ;
34+ import androidx .annotation .Nullable ;
35+ import androidx . appcompat .app .AppCompatDialogFragment ;
3636import android .util .DisplayMetrics ;
3737import android .view .ContextThemeWrapper ;
3838import android .view .LayoutInflater ;
Original file line number Diff line number Diff line change 22
33import android .content .Context ;
44import android .os .Build ;
5- import android . support .annotation .NonNull ;
6- import android . support .annotation .Nullable ;
5+ import androidx .annotation .NonNull ;
6+ import androidx .annotation .Nullable ;
77
88import java .math .BigDecimal ;
99import java .util .Locale ;
Original file line number Diff line number Diff line change 2626import android .content .Context ;
2727import android .content .res .TypedArray ;
2828import android .os .Handler ;
29- import android . support .annotation .Nullable ;
30- import android . support . v7 .widget .AppCompatImageView ;
29+ import androidx .annotation .Nullable ;
30+ import androidx . appcompat .widget .AppCompatImageView ;
3131import android .util .AttributeSet ;
3232import android .view .HapticFeedbackConstants ;
3333import android .view .MotionEvent ;
Original file line number Diff line number Diff line change 11package com .nmaltais .calcdialog ;
22
33import android .os .Bundle ;
4- import android . support .annotation .Nullable ;
4+ import androidx .annotation .Nullable ;
55
66import java .math .BigDecimal ;
77import java .text .DecimalFormatSymbols ;
Original file line number Diff line number Diff line change 11package com .nmaltais .calcdialog ;
22
33import android .os .Bundle ;
4- import android . support .annotation .Nullable ;
4+ import androidx .annotation .Nullable ;
55
66import java .math .BigDecimal ;
77import java .math .RoundingMode ;
You can’t perform that action at this time.
0 commit comments