Compare commits
16 Commits
appbase-v1
...
appbase-v1
| Author | SHA1 | Date | |
|---|---|---|---|
| 3e4044ac9c | |||
| bcbdde2197 | |||
| 54d8257e9c | |||
| 4c7dd3b3a6 | |||
| 188dcb0648 | |||
| cd41c13bd6 | |||
| 78642d7d23 | |||
| 8ba85fa51d | |||
| 589e62279d | |||
| f78caf762c | |||
| cc0ea4861d | |||
| 3ca34b513a | |||
| 780054d909 | |||
| 5028780d90 | |||
| 38da5d18d8 | |||
| 052c887177 |
59
.github/workflows/gradle.yml
vendored
Normal file
59
.github/workflows/gradle.yml
vendored
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
|
# They are provided by a third-party and are governed by
|
||||||
|
# separate terms of service, privacy policy, and support
|
||||||
|
# documentation.
|
||||||
|
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
||||||
|
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
|
||||||
|
|
||||||
|
name: Java CI with Gradle
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "appbase" ]
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
pull_request:
|
||||||
|
branches: [ "appbase" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up JDK 17
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '17'
|
||||||
|
distribution: 'temurin'
|
||||||
|
|
||||||
|
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
|
||||||
|
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||||
|
|
||||||
|
# 编译任务改为 assembleStageRelease
|
||||||
|
- name: Build Stage Release APK
|
||||||
|
run: ./gradlew assembleStageRelease --no-daemon
|
||||||
|
|
||||||
|
# 构建成功后,把APK上传到本次tag对应的Release Assets
|
||||||
|
- name: Upload APK to GitHub Release
|
||||||
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
files: app/build/outputs/apk/stageRelease/*.apk
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
# NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
|
||||||
|
# If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version.
|
||||||
|
#
|
||||||
|
# - name: Setup Gradle
|
||||||
|
# uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||||
|
# with:
|
||||||
|
# gradle-version: '8.9'
|
||||||
|
#
|
||||||
|
# - name: Build with Gradle 8.9
|
||||||
|
# run: gradle build
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Thu Jun 11 13:34:09 GMT 2026
|
#Sat Jun 13 02:01:25 GMT 2026
|
||||||
stageCount=29
|
stageCount=31
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.20
|
baseVersion=15.20
|
||||||
publishVersion=15.20.28
|
publishVersion=15.20.30
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.20.29
|
baseBetaVersion=15.20.31
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://maven.aliyun.com/repository/public/' }
|
|
||||||
maven { url 'https://maven.aliyun.com/repository/google/' }
|
|
||||||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' }
|
|
||||||
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
|
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
|
||||||
maven { url "https://clojars.org/repo/" }
|
maven { url "https://clojars.org/repo/" }
|
||||||
maven { url "https://jitpack.io" }
|
maven { url "https://jitpack.io" }
|
||||||
@@ -31,9 +28,6 @@ buildscript {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://maven.aliyun.com/repository/public/' }
|
|
||||||
maven { url 'https://maven.aliyun.com/repository/google/' }
|
|
||||||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' }
|
|
||||||
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
|
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
|
||||||
maven { url "https://clojars.org/repo/" }
|
maven { url "https://clojars.org/repo/" }
|
||||||
maven { url "https://jitpack.io" }
|
maven { url "https://jitpack.io" }
|
||||||
|
|||||||
@@ -19,3 +19,4 @@ android.useAndroidX=false
|
|||||||
android.enableJetifier=false
|
android.enableJetifier=false
|
||||||
# 保持与旧版Gradle插件的兼容
|
# 保持与旧版Gradle插件的兼容
|
||||||
android.disableAutomaticComponentCreation=true
|
android.disableAutomaticComponentCreation=true
|
||||||
|
org.gradle.daemon=false
|
||||||
|
|||||||
@@ -19,3 +19,4 @@ android.useAndroidX=false
|
|||||||
android.enableJetifier=false
|
android.enableJetifier=false
|
||||||
# 保持与旧版Gradle插件的兼容
|
# 保持与旧版Gradle插件的兼容
|
||||||
android.disableAutomaticComponentCreation=true
|
android.disableAutomaticComponentCreation=true
|
||||||
|
org.gradle.daemon=false
|
||||||
|
|||||||
@@ -19,3 +19,4 @@ android.useAndroidX=true
|
|||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
# 保持与旧版Gradle插件的兼容
|
# 保持与旧版Gradle插件的兼容
|
||||||
android.disableAutomaticComponentCreation=true
|
android.disableAutomaticComponentCreation=true
|
||||||
|
org.gradle.daemon=false
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Thu Jun 11 13:34:09 GMT 2026
|
#Sat Jun 13 02:01:25 GMT 2026
|
||||||
stageCount=29
|
stageCount=31
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.20
|
baseVersion=15.20
|
||||||
publishVersion=15.20.28
|
publishVersion=15.20.30
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.20.29
|
baseBetaVersion=15.20.31
|
||||||
|
|||||||
Reference in New Issue
Block a user