diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-09-30 14:56:03 +0300 |
---|---|---|
committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-10-06 16:05:19 +0300 |
commit | b02d88e416769857e56f310cdad7348767304b59 (patch) | |
tree | 999f07fdc20eab3e531bcb6de7349a54612477f5 /src/android | |
parent | 3dbca82f861c8c83eea32560d5e63e1c71057d3b (diff) |
Android: Update and add missing gradle files for jar folders
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 <marten.nordheim@qt.io>
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/jar/build.gradle | 13 |
1 files changed, 6 insertions, 7 deletions
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 { |