Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- Have Bundle Tool
- Download Artifact
- Upload Artifact
- Clear (Articfact naming)
- Clear (Artifact naming)
- Sample Naming : ${date_today} - ${repository_name} - ${playstore_name} - APK(s) release generated
- Private Repository Tested (Passed Build App bundle(s) and APK generated successfully)
- Local Run With .run configuration in Local Machine
Expand All @@ -28,21 +28,15 @@
## Version Release
This Is Latest Release

$version_release = 2.2.5
$version_release = 2.2.6

What's New??

* Update Target SDK 35 *
* Update Target SDK 36 *
* Update Action Script *
* Update Android Studio Latest Version *
* Update Gradle Latest Version *
* Update Kotlin Latest Version *
* Update Java Version From 11 to 17 *
* Update Java Action version to 3 *
* Update Android SDK Tools *
* Add Bundletool.jar for workflow github action *
* Add .run configuration *
* Update To Libs.Version.Toml

## Article Sources
- [How To Securely Build and Sign Your Android App With GitHub Actions](https://proandroiddev.com/how-to-securely-build-and-sign-your-android-app-with-github-actions-ad5323452ce)
Expand Down
12 changes: 9 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
import java.text.SimpleDateFormat
import java.util.Date

plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
}

base {
// Naming APK // AAB
val timestamp = SimpleDateFormat("dd-MM-yyyy_hh-mm").format(Date())
archivesName = "${ProjectSetting.NAME_APK}-[${ProjectSetting.PROJECT_VERSION_NAME}]-$timestamp"
}

android {
compileSdk = ProjectSetting.PROJECT_COMPILE_SDK
namespace = ProjectSetting.PROJECT_NAME_SPACE
Expand All @@ -20,9 +29,6 @@ android {

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

// Naming APK // AAB
setProperty("archivesBaseName", "${ProjectSetting.NAME_APK}[${versionName}]")

}

signingConfigs {
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/ProjectSetting.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ object ProjectSetting {

const val VERSION_MAJOR = 2
const val VERSION_MINOR = 2
const val VERSION_PATCH = 5
const val VERSION_PATCH = 6

const val PROJECT_MIN_SDK = 24
const val PROJECT_COMPILE_SDK = 35
const val PROJECT_COMPILE_SDK = 36

// Setup Publish Setting
const val KEY_PATH = "frogoboxdev.jks"
Expand Down
20 changes: 10 additions & 10 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[versions]
agp = "8.7.2"
kotlin = "1.9.24"
coreKtx = "1.15.0"
agp = "8.13.1"
kotlin = "2.2.21"
coreKtx = "1.17.0"
junit = "4.13.2"
junitVersion = "1.2.1"
espressoCore = "3.6.1"
appcompat = "1.7.0"
material = "1.12.0"
activity = "1.9.3"
constraintlayout = "2.2.0"
workRuntimeKtx = "2.10.0"
junitVersion = "1.3.0"
espressoCore = "3.7.0"
appcompat = "1.7.1"
material = "1.13.0"
activity = "1.11.0"
constraintlayout = "2.2.1"
workRuntimeKtx = "2.11.0"

[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
Expand Down
8 changes: 5 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#Fri Feb 11 12:32:43 WIB 2022
#Mon Nov 17 11:09:59 WIB 2025
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading