From b02d88e416769857e56f310cdad7348767304b59 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Thu, 30 Sep 2021 14:56:03 +0300 Subject: Android: Update and add missing gradle files for jar folders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the build.gradle for main Qt jar code, and add same files for network and network information backend, so the code can be managed from Android Studio. This also adds .gitignore to ignore Android Studio build artefacts. Pick-to: 6.2 Change-Id: Ic06e9d12708070fad112f17e58b8754608d184f3 Reviewed-by: MÃ¥rten Nordheim --- src/android/jar/build.gradle | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/android') diff --git a/src/android/jar/build.gradle b/src/android/jar/build.gradle index f2dcb500ca..c947852f79 100644 --- a/src/android/jar/build.gradle +++ b/src/android/jar/build.gradle @@ -3,11 +3,11 @@ buildscript { repositories { google() - jcenter() + mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:4.0.2' + classpath 'com.android.tools.build:gradle:7.0.2' } } @@ -15,21 +15,20 @@ apply plugin: 'com.android.library' dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) -// implementation 'androidx.appcompat:appcompat:1.2.0' // for androidx } repositories { google() - jcenter() + mavenCentral() } android { - compileSdkVersion 30 - buildToolsVersion "30.0.3" + compileSdkVersion 31 + buildToolsVersion "31.0.3" defaultConfig { minSdkVersion 23 - targetSdkVersion 30 + targetSdkVersion 31 } sourceSets { -- cgit v1.2.3