Add CI/CD
Some checks failed
Build / build (push) Failing after 9m53s

This commit is contained in:
2025-10-08 12:28:39 +07:00
parent 9399dbe051
commit 47f3f1f55d
4 changed files with 18 additions and 25 deletions

View File

@@ -10,16 +10,14 @@ jobs:
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- name: Set up JDK 21 - name: Set up JDK 21.0.5
uses: actions/setup-java@v5 uses: actions/setup-java@v5
with: with:
distribution: 'zulu' distribution: 'zulu'
java-version: '21' java-version: '21.0.5'
- name: Setup Android SDK - name: Setup Android SDK
uses: amyu/setup-android@v5 uses: amyu/setup-android@v5
with:
cache-disabled: true
- name: Grant execute permission for Gradle wrapper - name: Grant execute permission for Gradle wrapper
run: chmod +x ./gradlew run: chmod +x ./gradlew

View File

@@ -22,4 +22,4 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies, # resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library # thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true android.nonTransitiveRClass=true
org.gradle.configuration-cache=false #org.gradle.configuration-cache=false

View File

@@ -1,24 +1,24 @@
[versions] [versions]
activityComposeVersion = "1.10.1" activityComposeVersion = "1.11.0"
agp = "8.9.3" agp = "8.9.3"
androidxJunit = "1.3.0" androidxJunit = "1.3.0"
animationCore = "1.9.0" animationCore = "1.9.2"
autoupdater = "1.0.1" autoupdater = "1.0.1"
espressoCoreVersion = "3.7.0" espressoCoreVersion = "3.7.0"
foundation = "1.9.0" foundation = "1.9.2"
kotlin = "2.0.21" kotlin = "2.0.21"
coreKtx = "1.17.0" coreKtx = "1.17.0"
junit = "4.13.2" junit = "4.13.2"
lifecycleRuntimeKtxVersion = "2.9.3" lifecycleRuntimeKtxVersion = "2.9.4"
material = "1.9.0" material = "1.9.2"
material3WindowSizeClass = "1.3.2" material3WindowSizeClass = "1.4.0"
materialIconsExtended = "1.7.8" materialIconsExtended = "1.7.8"
ui = "1.9.0" ui = "1.9.2"
uiGraphics = "1.9.0" uiGraphics = "1.9.2"
uiTestJunit4 = "1.9.0" uiTestJunit4 = "1.9.2"
uiTestManifest = "1.9.0" uiTestManifest = "1.9.2"
uiTooling = "1.9.0" uiTooling = "1.9.2"
uiToolingPreview = "1.9.0" uiToolingPreview = "1.9.2"
[libraries] [libraries]
androidx-activity-compose-v1101 = { module = "androidx.activity:activity-compose", version.ref = "activityComposeVersion" } androidx-activity-compose-v1101 = { module = "androidx.activity:activity-compose", version.ref = "activityComposeVersion" }

View File

@@ -1,7 +1,7 @@
pluginManagement { pluginManagement {
repositories { repositories {
maven { maven {
setUrl("https://mirrors.cloud.tencent.com/repository/maven/") setUrl("https://jitpack.io")
} }
google { google {
content { content {
@@ -12,22 +12,17 @@ pluginManagement {
} }
mavenCentral() mavenCentral()
gradlePluginPortal() gradlePluginPortal()
maven {
setUrl("https://jitpack.io")
}
} }
} }
dependencyResolutionManagement { dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories { repositories {
maven { maven {
setUrl("https://mirrors.cloud.tencent.com/repository/maven/") setUrl("https://jitpack.io")
} }
google() google()
mavenCentral() mavenCentral()
maven {
setUrl("https://jitpack.io")
}
} }
} }