From 16c02d444eb476be20ba613b1b6f9c33608180c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hor=C3=A1cio=20Com=C3=A9?= Date: Tue, 21 Nov 2023 14:13:25 +0200 Subject: [PATCH] addresses issues #16 -> project update strongly recommended - gradle from 5.6.4 to 6.7.1 - agp from 3.6.3 to 4.2.2 - compileSdkVersion from 29 to 34 - targetSdkVersion from 29 to 34 - bump dependencies --- app/build.gradle | 8 ++++---- app/src/main/AndroidManifest.xml | 6 ++---- build.gradle | 9 ++++++--- gradle/wrapper/gradle-wrapper.properties | 2 +- silky-signature/build.gradle | 10 ++++------ 5 files changed, 17 insertions(+), 18 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 29f9691..82bafde 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,11 +1,11 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 29 + compileSdkVersion 34 defaultConfig { applicationId "com.williamww.silkysignaturedemo" minSdkVersion 14 - targetSdkVersion 29 + targetSdkVersion 34 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -23,8 +23,8 @@ dependencies { androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) - implementation 'androidx.appcompat:appcompat:1.1.0' - testImplementation 'junit:junit:4.13' + implementation 'androidx.appcompat:appcompat:1.6.1' + testImplementation 'junit:junit:4.13.2' implementation project(':silky-signature') } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index e8f4aab..ab38e53 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -3,9 +3,6 @@ xmlns:tools="http://schemas.android.com/tools" package="com.williamww.silkysignaturedemo"> - - - + android:name=".MainActivity" + android:exported="true"> diff --git a/build.gradle b/build.gradle index deda260..f88b0dc 100644 --- a/build.gradle +++ b/build.gradle @@ -3,11 +3,12 @@ buildscript { repositories { google() - jcenter() mavenCentral() + //noinspection JcenterRepositoryObsolete + jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.6.3' + classpath 'com.android.tools.build:gradle:4.2.2' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' @@ -19,10 +20,12 @@ buildscript { allprojects { repositories { google() + mavenCentral() + //noinspection JcenterRepositoryObsolete jcenter() } } -task clean(type: Delete) { +tasks.register('clean', Delete) { delete rootProject.buildDir } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d5a6654..8114af9 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip diff --git a/silky-signature/build.gradle b/silky-signature/build.gradle index 171ff04..898afe0 100644 --- a/silky-signature/build.gradle +++ b/silky-signature/build.gradle @@ -25,12 +25,10 @@ ext { } android { - compileSdkVersion 29 + compileSdkVersion 34 defaultConfig { minSdkVersion 14 - targetSdkVersion 29 - versionCode 1 - versionName "1.0" + targetSdkVersion 34 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -48,8 +46,8 @@ dependencies { androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) - implementation 'androidx.appcompat:appcompat:1.1.0' - testImplementation 'junit:junit:4.13' + implementation 'androidx.appcompat:appcompat:1.6.1' + testImplementation 'junit:junit:4.13.2' } apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle' apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'