Skip to content

Commit

Permalink
Bump to Android 31 (#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
José Pereda authored Sep 30, 2022
1 parent 6b447be commit 975ef76
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/gluonhq/substrate/util/FileDeps.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public final class FileDeps {

private static final String ANDROID_KEY = "24333f8a63b6825ea9c5514f83c2829b004d1fee";
private static final String[] ANDROID_SDK_PACKAGES = {
"platforms;android-30", "build-tools;30.0.2", "platform-tools",
"platforms;android-31", "build-tools;31.0.0", "platform-tools",
"extras;android;m2repository", "extras;google;m2repository", "ndk-bundle" };

private static final String ARCH_SYSROOT_URL = "https://download2.gluonhq.com/substrate/sysroot/${arch}sysroot-${version}.zip";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 30
compileSdkVersion 31

compileOptions {
sourceCompatibility 1.8
Expand All @@ -10,7 +10,7 @@ android {

defaultConfig {
minSdkVersion 21
targetSdkVersion 30
targetSdkVersion 31
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
<uses-permission android:name="android.permission.INTERNET"/>
<!-- PERMISSIONS -->
<application android:label='A HelloGraal' android:icon="@mipmap/ic_launcher">
<activity android:name='com.gluonhq.helloandroid.MainActivity' android:configChanges="orientation|keyboardHidden">
<activity android:name='com.gluonhq.helloandroid.MainActivity'
android:exported="true"
android:configChanges="orientation|keyboardHidden">
<intent-filter>
<category android:name='android.intent.category.LAUNCHER'/>
<action android:name='android.intent.action.MAIN'/>
</intent-filter>
</activity>
<activity android:name='com.gluonhq.helloandroid.PermissionRequestActivity'/>
<activity android:name='com.gluonhq.helloandroid.PermissionRequestActivity'
android:exported="true"/>
</application>
</manifest>

Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ buildscript {
mavenCentral()
mavenLocal()
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.3.0'
}
}

Expand All @@ -15,6 +14,5 @@ allprojects {
google()
mavenCentral()
mavenLocal()
jcenter()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip

0 comments on commit 975ef76

Please sign in to comment.