Merge branch 'master' of ssh://patema.crystalyx.net:2222/Xefir/SetAsWallpaper
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
3bdb6a0e8d
@ -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
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,10 @@ allprojects {
|
|||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
options.deprecation = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task clean(type: Delete) {
|
task clean(type: Delete) {
|
||||||
|
Loading…
Reference in New Issue
Block a user