Skip to content

Commit 637ecfa

Browse files
committed
Upgraded Gradle and cleaned up config and dependencies.
1 parent 9ab12be commit 637ecfa

File tree

4 files changed

+8
-13
lines changed

4 files changed

+8
-13
lines changed

app/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ apply plugin: 'kotlin-kapt'
44
apply plugin: 'kotlin-android-extensions'
55

66
android {
7-
compileSdkVersion 27
7+
compileSdkVersion 33
88
defaultConfig {
99
applicationId "com.livinglifetechway.quickpermissions_sample"
1010
minSdkVersion 16
11-
targetSdkVersion 27
11+
targetSdkVersion 33
1212
versionCode 1
1313
versionName "1.0"
1414
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -25,8 +25,6 @@ android {
2525
dependencies {
2626
implementation fileTree(include: ['*.jar'], dir: 'libs')
2727
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
28-
implementation 'com.android.support:appcompat-v7:27.1.1'
29-
implementation 'com.android.support:design:27.1.1'
3028
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
3129
testImplementation 'junit:junit:4.12'
3230
androidTestImplementation 'com.android.support.test:runner:1.0.2'

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.3.21'
5-
ext.gradle_version = '3.3.2'
4+
ext.kotlin_version = '1.3.40'
5+
ext.gradle_version = '7.1.3'
66
repositories {
77
google()
88
jcenter()
@@ -20,7 +20,7 @@ allprojects {
2020
repositories {
2121
google()
2222
jcenter()
23-
maven { url "http://jitpack.io/" }
23+
maven { url "https://jitpack.io/" }
2424
}
2525
}
2626

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip

quickpermissions-kotlin/build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
33

44
android {
5-
compileSdkVersion 27
5+
compileSdkVersion 33
66

77
defaultConfig {
88
minSdkVersion 16
9-
targetSdkVersion 27
10-
versionCode 1
11-
versionName "1.0"
9+
targetSdkVersion 33
1210

1311
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1412
}
@@ -29,7 +27,6 @@ dependencies {
2927
androidTestImplementation 'com.android.support.test:runner:1.0.2'
3028
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
3129
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
32-
implementation 'com.android.support:appcompat-v7:27.1.1'
3330
implementation 'org.jetbrains.anko:anko-commons:0.10.5'
3431
}
3532
repositories {

0 commit comments

Comments
 (0)