Upgrade tools

This commit is contained in:
emanuele-f 2021-05-19 21:35:13 +02:00
parent 48723320de
commit 04537d353d
3 changed files with 8 additions and 7 deletions

View File

@ -3,7 +3,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
ndkVersion "22.0.7026061"
ndkVersion "22.1.7171670"
defaultConfig {
applicationId "com.emanuelef.remote_capture"
@ -23,6 +23,7 @@ android {
externalNativeBuild {
cmake {
path file('src/main/jni/CMakeLists.txt')
version "3.18.1"
}
}
@ -40,12 +41,12 @@ android {
dependencies {
// AndroidX
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
implementation 'androidx.preference:preference:1.1.1'
implementation 'androidx.recyclerview:recyclerview:1.2.0'
implementation 'androidx.fragment:fragment:1.3.3'
implementation 'androidx.fragment:fragment:1.3.4'
implementation 'com.google.android.material:material:1.3.0'
// Third-party

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.10.2)
cmake_minimum_required(VERSION 3.18.1)
set(CMAKE_VERBOSE_MAKEFILE ON)
set(ROOTDIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../..)

View File

@ -3,10 +3,10 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'com.android.tools.build:gradle:4.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@ -16,7 +16,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation"