Merge branch 'master' of ssh://patema.crystalyx.net:2222/Xefir/SetAsWallpaper
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-09-21 11:58:59 +00:00
commit 3bdb6a0e8d
3 changed files with 12 additions and 3 deletions

View File

@ -10,9 +10,10 @@ android {
defaultConfig { defaultConfig {
applicationId "net.crystalyx.setaswallpaper" applicationId "net.crystalyx.setaswallpaper"
minSdkVersion 5 minSdkVersion 5
//noinspection OldTargetApi
targetSdkVersion 32 targetSdkVersion 32
versionCode 7 versionCode 8
versionName "3.0" versionName "3.1"
} }
signingConfigs { signingConfigs {
@ -30,9 +31,11 @@ android {
release { release {
minifyEnabled true minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
if (System.env.STORE_FILE) {
signingConfig signingConfigs.release signingConfig signingConfigs.release
} }
} }
}
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8

View File

@ -78,6 +78,8 @@ public class SetWallpaperActivity extends Activity {
} }
Toast.makeText(this, "Wallpaper set!", Toast.LENGTH_SHORT).show(); Toast.makeText(this, "Wallpaper set!", Toast.LENGTH_SHORT).show();
finish();
} }
} }

View File

@ -17,6 +17,10 @@ allprojects {
google() google()
mavenCentral() mavenCentral()
} }
tasks.withType(JavaCompile) {
options.deprecation = true
}
} }
task clean(type: Delete) { task clean(type: Delete) {