Auto-commit after successful build: improve build setup
Changed files:\nSetupBuildEnvironment.sh app/build.gradle.kts
This commit is contained in:
@@ -252,8 +252,8 @@ ensure_sdk_packages() {
|
||||
|
||||
if have_recent_success_marker \
|
||||
&& [ -d "$SDK_DIR/platform-tools" ] \
|
||||
&& [ -d "$SDK_DIR/platforms/android-34" ] \
|
||||
&& [ -d "$SDK_DIR/build-tools/34.0.0" ] \
|
||||
&& [ -d "$SDK_DIR/platforms/android-35" ] \
|
||||
&& [ -d "$SDK_DIR/build-tools/35.0.0" ] \
|
||||
&& [ -d "$ANDROID_NDK_DIR" ] \
|
||||
&& [ -d "$ANDROID_CMAKE_DIR" ]; then
|
||||
log "Skipping SDK verification/install because all components were confirmed within the last 24 hours"
|
||||
@@ -275,8 +275,8 @@ ensure_sdk_packages() {
|
||||
log "Installing required Android SDK packages"
|
||||
"$CMDLINE_TOOLS_LATEST_DIR/bin/sdkmanager" --sdk_root="$SDK_DIR" \
|
||||
"platform-tools" \
|
||||
"platforms;android-34" \
|
||||
"build-tools;34.0.0" \
|
||||
"platforms;android-35" \
|
||||
"build-tools;35.0.0" \
|
||||
"$ANDROID_NDK_PACKAGE" \
|
||||
"$ANDROID_CMAKE_PACKAGE"
|
||||
|
||||
|
||||
@@ -13,14 +13,14 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace = "solutions.tretter.githugandroid"
|
||||
compileSdk = 34
|
||||
compileSdk = 35
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "solutions.tretter.githugandroid"
|
||||
minSdk = 26
|
||||
targetSdk = 34
|
||||
versionCode = 93
|
||||
versionName = "0.1.92"
|
||||
targetSdk = 35
|
||||
versionCode = 94
|
||||
versionName = "0.1.93"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
|
||||
Reference in New Issue
Block a user