Skip to content

Commit

Permalink
[skip ci] Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
shatyuka committed Jun 21, 2023
1 parent 28f6440 commit 3fd0823
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
22 changes: 12 additions & 10 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 33
namespace 'com.shatyuka.zhiliao'
compileSdk 33
buildToolsVersion '33.0.2'
defaultConfig {
applicationId "com.shatyuka.zhiliao"
minSdkVersion 26
Expand All @@ -28,16 +30,16 @@ android {
}
}
}
applicationVariants.all { variant ->
applicationVariants.configureEach { variant ->
variant.resValue "string", "app_version", variant.versionName
variant.outputs.all { output ->
variant.outputs.configureEach { output ->
if (variant.buildType.name == 'release') {
outputFileName = "Zhiliao_${defaultConfig.versionName}.apk"
}
}
}
buildTypes {
all {
configureEach {
if (project.hasProperty('releaseStoreFile')) {
signingConfig signingConfigs.config
} else {
Expand Down Expand Up @@ -74,13 +76,13 @@ android {
buildFeatures {
prefab true
}
buildToolsVersion '33.0.2'

packagingOptions {
exclude 'META-INF/**'
exclude 'kotlin/**'
exclude 'google/**'
exclude '**.bin'
jniLibs {
excludes += ['META-INF/**', 'kotlin/**', 'google/**']
}
resources {
excludes += ['META-INF/**', 'kotlin/**', 'google/**', '**.bin']
}
}
}

Expand Down
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.shatyuka.zhiliao">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application
android:allowBackup="true"
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ allprojects {
}
}

task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ android.experimental.enableNewResourceShrinker.preciseShrinking=true
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
appVerName=23.03.25
appVerCode=202303250
appVerName=23.06.21
appVerCode=202306210

0 comments on commit 3fd0823

Please sign in to comment.