refactor: ♻️ rename app to app like setaswallpaper
Some checks failed
apk / build (push) Has been cancelled

This commit is contained in:
Michel Roux 2025-02-08 15:30:47 +01:00
parent 53fe59e632
commit b57c322ed2
20 changed files with 20 additions and 30 deletions

View File

@ -7,15 +7,15 @@ jobs:
container: mingc/android-build-box
steps:
- uses: actions/checkout@v4
- run: curl -sSL -u "$USERNAME:$PASSWORD" -o ShareWithTitle/$STORE_FILE https://cloud.crystalyx.net/remote.php/dav/files/$USERNAME/Bordel/$STORE_FILE
- run: sh gradlew lint build bundle assemble --no-daemon
- run: curl -sSL -u "$USERNAME:$PASSWORD" -o app/$STORE_FILE https://cloud.crystalyx.net/remote.php/dav/files/$USERNAME/Bordel/$STORE_FILE
- run: sh gradlew lint build bundle assemble --no-daemon --warning-mode all
- uses: akkuman/gitea-release-action@v1
if: gitea.ref_type == 'tag'
with:
files: |
ShareWithTitle/build/outputs/apk/debug/ShareWithTitle-debug.apk
ShareWithTitle/build/outputs/apk/release/ShareWithTitle-release.apk
ShareWithTitle/build/outputs/bundle/release/ShareWithTitle-release.aab
app/build/outputs/apk/debug/app-debug.apk
app/build/outputs/apk/release/app-release.apk
app/build/outputs/bundle/release/app-release.aab
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}

2
.gitignore vendored
View File

@ -2,4 +2,4 @@
.DS_Store
build/
local.properties
.idea
.idea/

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":" />
</configuration>
</facet>
</component>
</module>

View File

@ -4,19 +4,19 @@ android {
namespace 'net.crystalyx.sharewithtitle'
compileSdk 34
defaultConfig {
applicationId "net.crystalyx.sharewithtitle"
minSdkVersion 11
targetSdkVersion 34
versionCode 9
versionName "1.7"
applicationId = "net.crystalyx.sharewithtitle"
minSdkVersion = 11
targetSdkVersion = 34
versionCode = 9
versionName = "1.7"
}
signingConfigs {
release {
if (System.env.STORE_FILE) {
storeFile file(System.env.STORE_FILE)
storePassword System.env.STORE_PASSWORD
keyAlias System.env.KEY_ALIAS
keyPassword System.env.KEY_PASSWORD
storeFile = file(System.env.STORE_FILE)
storePassword = System.env.STORE_PASSWORD
keyAlias = System.env.KEY_ALIAS
keyPassword = System.env.KEY_PASSWORD
}
}
}
@ -26,10 +26,10 @@ android {
}
buildTypes {
release {
minifyEnabled false
minifyEnabled = true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
if (System.env.STORE_FILE) {
signingConfig signingConfigs.release
signingConfig = signingConfigs.release
}
}
}

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:8.8.0")
classpath('com.android.tools.build:gradle:8.8.0')
}
}

View File

@ -1,3 +1,3 @@
// Boilerplate from https://transang.me/create-a-minimal-android-boilerplate-from-scratch/
rootProject.name = 'ShareWithTitle'
include ':ShareWithTitle'
rootProject.name = "ShareWithTitle"
include ':app'