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: with:
distribution: 'zulu' distribution: 'zulu'
java-version: '21' java-version: '21'
- name: Setup Android SDK - 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 - 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=true org.gradle.configuration-cache=false

View File

@@ -1,5 +1,8 @@
pluginManagement { pluginManagement {
repositories { repositories {
maven {
setUrl("https://mirrors.cloud.tencent.com/repository/maven/")
}
google { google {
content { content {
includeGroupByRegex("com\\.android.*") includeGroupByRegex("com\\.android.*")
@@ -9,17 +12,24 @@ 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 {
setUrl("https://mirrors.cloud.tencent.com/repository/maven/")
}
google() google()
mavenCentral() mavenCentral()
maven { maven {
url=uri("https://jitpack.io") setUrl("https://jitpack.io")
} }
} }
} }
rootProject.name = "FireflyPsAndorid" rootProject.name = "FireflyPsAndorid"