Add CI/CD
Some checks failed
Build / build (push) Failing after 6m43s

This commit is contained in:
2025-10-08 12:02:22 +07:00
parent a044ca8189
commit 9399dbe051
3 changed files with 17 additions and 4 deletions

View File

@@ -15,8 +15,11 @@ jobs:
with:
distribution: 'zulu'
java-version: '21'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
uses: amyu/setup-android@v5
with:
cache-disabled: true
- name: Grant execute permission for Gradle wrapper
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,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache=false

View File

@@ -1,5 +1,8 @@
pluginManagement {
repositories {
maven {
setUrl("https://mirrors.cloud.tencent.com/repository/maven/")
}
google {
content {
includeGroupByRegex("com\\.android.*")
@@ -9,17 +12,24 @@ pluginManagement {
}
mavenCentral()
gradlePluginPortal()
maven {
setUrl("https://jitpack.io")
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven {
setUrl("https://mirrors.cloud.tencent.com/repository/maven/")
}
google()
mavenCentral()
maven{
url=uri("https://jitpack.io")
maven {
setUrl("https://jitpack.io")
}
}
}
rootProject.name = "FireflyPsAndorid"