Get up to date with the latest tools

This commit is contained in:
Francisco Zurita 2021-12-19 11:42:53 -05:00
parent 71277374ef
commit 2c8486b79d
9 changed files with 11 additions and 43 deletions

View File

@ -1,13 +1,13 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion = '28.0.3'
compileSdkVersion 31
buildToolsVersion = '31.0.0'
defaultConfig {
applicationId "deps.mupen64plusae.android.paulscode.mupen64plus_ae_deps"
minSdkVersion 21
targetSdkVersion 30
minSdkVersion 23
targetSdkVersion 31
versionCode 1
versionName "1.0"
}
@ -22,7 +22,7 @@ android {
path "src/main/cpp/Android.mk"
}
}
ndkVersion '22.0.7026061'
ndkVersion "23.1.7779620"
defaultConfig {
externalNativeBuild {
@ -38,5 +38,4 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0'
}

View File

@ -4,8 +4,6 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme" />
android:supportsRtl="true" />
</manifest>

View File

@ -1,7 +1,2 @@
APP_STL := c++_shared
APP_ABI := armeabi-v7a x86
# TODO: mips
APP_PLATFORM := android-19
APP_OPTIM := release
APP_CPPFLAGS += -fexceptions

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
</resources>

View File

@ -1,3 +0,0 @@
<resources>
<string name="app_name">mupen64plus-ae-deps</string>
</resources>

View File

@ -1,11 +0,0 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
</resources>

View File

@ -7,7 +7,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath 'com.android.tools.build:gradle:7.0.4'
// NOTE: Do not place your application dependencies here; they belong

View File

@ -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-6.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

View File

@ -1,19 +1,15 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
compileSdkVersion 31
defaultConfig {
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "1.0"
minSdkVersion 23
targetSdkVersion 31
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
}
}