Build 29060146

This commit is contained in:
Renan LE CARO 2025-04-02 17:46:34 +02:00
parent c86031f4c0
commit 75972744cb
7 changed files with 26 additions and 35 deletions

View file

@ -1,21 +1,27 @@
import java.util.Properties
import java.io.FileInputStream
plugins { plugins {
alias(libs.plugins.androidApplication) alias(libs.plugins.androidApplication)
alias(libs.plugins.jetbrainsKotlinAndroid) alias(libs.plugins.jetbrainsKotlinAndroid)
} }
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties() val keystorePropertiesFile = rootProject.file("keystore.properties")
keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) val keystoreProperties = Properties()
keystoreProperties.load(FileInputStream(keystorePropertiesFile))
android { android {
signingConfigs { signingConfigs {
config { create("release") {
keyAlias keystoreProperties['keyAlias'] keyAlias = keystoreProperties["keyAlias"] as String
keyPassword keystoreProperties['keyPassword'] keyPassword = keystoreProperties["keyPassword"] as String
storeFile file(keystoreProperties['storeFile']) storeFile = file(keystoreProperties["storeFile"] as String)
storePassword keystoreProperties['storePassword'] storePassword = keystoreProperties["storePassword"] as String
} }
} }
namespace = "me.lecaro.breakout" namespace = "me.lecaro.breakout"
compileSdk = 34 compileSdk = 34
@ -23,8 +29,8 @@ android {
applicationId = "me.lecaro.breakout" applicationId = "me.lecaro.breakout"
minSdk = 21 minSdk = 21
targetSdk = 34 targetSdk = 34
versionCode = 29060103 versionCode = 29060146
versionName = "29060103" versionName = "29060146"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables { vectorDrawables {
useSupportLibrary = true useSupportLibrary = true
@ -39,7 +45,7 @@ android {
getDefaultProguardFile("proguard-android-optimize.txt"), getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro" "proguard-rules.pro"
) )
signingConfig = signingConfigs.getByName("debug") signingConfig = signingConfigs.getByName("release")
} }
} }
compileOptions { compileOptions {
@ -61,22 +67,3 @@ android {
} }
} }
} }
//dependencies {
//
// implementation(libs.androidx.core.ktx)
// implementation(libs.androidx.lifecycle.runtime.ktx)
// implementation(libs.androidx.activity.compose)
// implementation(platform(libs.androidx.compose.bom))
// implementation(libs.androidx.ui)
// implementation(libs.androidx.ui.graphics)
// implementation(libs.androidx.ui.tooling.preview)
// implementation(libs.androidx.material3)
// testImplementation(libs.junit)
// androidTestImplementation(libs.androidx.junit)
// androidTestImplementation(libs.androidx.espresso.core)
// androidTestImplementation(platform(libs.androidx.compose.bom))
// androidTestImplementation(libs.androidx.ui.test.junit4)
// debugImplementation(libs.androidx.ui.tooling)
// debugImplementation(libs.androidx.ui.test.manifest)
//}

File diff suppressed because one or more lines are too long

View file

@ -46,3 +46,6 @@ rm -rf ./app/src/main/assets/*
cp public/* build cp public/* build
rm -rf ./app/src/main/assets/* rm -rf ./app/src/main/assets/*
cp build/index.html ./app/src/main/assets/ cp build/index.html ./app/src/main/assets/
# generate signed apk
./gradlew assembleRelease

View file

@ -30,4 +30,5 @@ rsync -avz --delete --delete-excluded --exclude="*.sh" --exclude="node_modules"
# upload to itch.io , upload the index file directly # upload to itch.io , upload the index file directly
butler push "./build/index.html" renanlecaro/breakout71:latest --userversion $versionCode butler push "./build/index.html" renanlecaro/breakout71:latest --userversion $versionCode
butler push "./build/index.html" renanlecaro/breakout71:offline --userversion $versionCode butler push "./build/index.html" renanlecaro/breakout71:offline --userversion $versionCode
butler push app/build/outputs/apk/release/app-release.apk renanlecaro/breakout71:apk --userversion $versionCode

2
dist/index.html vendored
View file

@ -1475,7 +1475,7 @@ const upgrades = (0, _upgrades.rawUpgrades).map((u)=>({
})); }));
},{"./data/palette.json":"ktRBU","./data/levels.json":"8JSUc","./data/version.json":"iyP6E","./upgrades":"1u3Dx","./getLevelBackground":"7OIPf","./levelIcon":"6rQoT","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3"}],"iyP6E":[function(require,module,exports,__globalThis) { },{"./data/palette.json":"ktRBU","./data/levels.json":"8JSUc","./data/version.json":"iyP6E","./upgrades":"1u3Dx","./getLevelBackground":"7OIPf","./levelIcon":"6rQoT","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3"}],"iyP6E":[function(require,module,exports,__globalThis) {
module.exports = JSON.parse("\"29060103\""); module.exports = JSON.parse("\"29060146\"");
},{}],"1u3Dx":[function(require,module,exports,__globalThis) { },{}],"1u3Dx":[function(require,module,exports,__globalThis) {
var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js"); var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

View file

@ -1,5 +1,5 @@
// The version of the cache. // The version of the cache.
const VERSION = "29060103"; const VERSION = "29060146";
// The name of the cache // The name of the cache
const CACHE_NAME = `breakout-71-${VERSION}`; const CACHE_NAME = `breakout-71-${VERSION}`;

View file

@ -1 +1 @@
"29060103" "29060146"