Compare commits

..

15 Commits

Author SHA1 Message Date
ZhanGSKen 0ecdda7127 <appbase>APK 15.21.0 release Publish. 2026-07-21 09:06:49 +08:00
BigPickle c65fa63545 [DebugSwitchInfoImageView] 添加点击显示英文单词功能
- 添加 HashMap 映射数字1-10对应英文单词 (one~ten)
- 点击时通过 Toast 显示对应单词,超出范围显示 One Piece!
- 调试Token对话框触发次数调整为连续点击10次
- build.properties 由构建系统自动更新
2026-07-21 09:02:50 +08:00
BigPickle 231de80efa [build.gradle] 抑制 Java 7 编译过时警告
- 在 subprojects 全局配置中添加 -Xlint:-options 编译器参数
- 消除 source value 7 is obsolete 和 target value 7 is obsolete 警告
- build.properties 由构建系统自动更新
2026-07-21 08:40:42 +08:00
ZhanGSKen 5d49185752 应用基准线调整 2026-07-21 08:35:22 +08:00
ZhanGSKen a9ac51eb12 <libappbase>Library Release 15.20.34 2026-06-28 20:56:01 +08:00
ZhanGSKen bd03705240 <appbase>APK 15.20.34 release Publish. 2026-06-28 20:55:33 +08:00
ZhanGSKen 8641196cdf 移除GitHub工作流配置 2026-06-28 19:40:42 +08:00
GPT-OSS_20B 49acdd7022 Update build counts for beta release
* Bumped buildCount to 2 in appbase/build.properties and libappbase/build.properties to reflect the latest beta build (15.20.34‑beta1_2710).
* Updated timestamps to current build time.
2026-06-28 19:31:32 +08:00
ZhanGSKen 70ab6d02c3 更新Git仓库地址 2026-06-24 08:42:37 +08:00
ZhanGSKen cb11da95ed <libappbase>Library Release 15.20.33 2026-06-24 04:11:35 +08:00
ZhanGSKen 73ea9147aa <appbase>APK 15.20.33 release Publish. 2026-06-24 04:11:18 +08:00
ZhanGSKen 8556d3a253 <appbase>APK 15.20.32 release Publish. 2026-06-24 03:54:02 +08:00
ZhanGSKen 34b982de8a <appbase>APK 15.20.31 release Publish. 2026-06-24 03:52:39 +08:00
ZhanGSKen 2b37edd2b2 编译调试 2026-06-24 03:42:16 +08:00
ZhanGSKen fd713f5906 开启 gradle 守护进程 2026-06-24 03:38:20 +08:00
8 changed files with 36 additions and 73 deletions
-59
View File
@@ -1,59 +0,0 @@
# 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 -1
View File
@@ -33,7 +33,7 @@ android {
// versionName 更新后需要手动设置
// .winboll/winbollBuildProps.properties 文件的 stageCount=0
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
versionName "15.20"
versionName "15.21"
if(true) {
versionName = genVersionName("${versionName}")
}
+5 -5
View File
@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Sat Jun 13 02:01:25 GMT 2026
stageCount=31
#Tue Jul 21 09:06:49 HKT 2026
stageCount=1
libraryProject=libappbase
baseVersion=15.20
publishVersion=15.20.30
baseVersion=15.21
publishVersion=15.21.0
buildCount=0
baseBetaVersion=15.20.31
baseBetaVersion=15.21.1
@@ -37,7 +37,7 @@ public class AboutActivity extends Activity {
appInfo.setAppName("APPBase");
appInfo.setAppIcon(R.drawable.ic_winboll);
appInfo.setAppDescription(getString(R.string.app_description));
appInfo.setAppGitName("APPBase");
appInfo.setAppGitName("WinBoLL");
appInfo.setAppGitOwner("Studio");
appInfo.setAppGitAPPBranch(branchName);
appInfo.setAppGitAPPSubProjectFolder(branchName);
+1
View File
@@ -89,6 +89,7 @@ allprojects {
subprojects {
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.compilerArgs << '-Xlint:-options'
}
}
}
+1 -1
View File
@@ -19,4 +19,4 @@ android.useAndroidX=false
android.enableJetifier=false
# 保持与旧版Gradle插件的兼容
android.disableAutomaticComponentCreation=true
org.gradle.daemon=false
#org.gradle.daemon=false
+5 -5
View File
@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Sat Jun 13 02:01:25 GMT 2026
stageCount=31
#Tue Jul 21 09:06:49 HKT 2026
stageCount=1
libraryProject=libappbase
baseVersion=15.20
publishVersion=15.20.30
baseVersion=15.21
publishVersion=15.21.0
buildCount=0
baseBetaVersion=15.20.31
baseBetaVersion=15.21.1
@@ -9,6 +9,8 @@ import android.content.SharedPreferences;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.Toast;
import java.util.HashMap;
import java.util.UUID;
import cc.winboll.studio.libappbase.GlobalApplication;
@@ -24,12 +26,26 @@ public class DebugSwitchInfoImageView extends ImageView {
// 连续点击计数
private int mClickCount = 0;
// 目标点击次数
private static final int TARGET_CLICK_COUNT = 7;
private static final int TARGET_CLICK_COUNT = 10;
private static String mDebugToken = null;
private static final String SP_DEBUG_TOKEN = "debug_token_prefs";
private static final String KEY_DEBUG_TOKEN = "debug_token";
private static final HashMap<Integer, String> NUMBER_WORDS = new HashMap<Integer, String>();
static {
NUMBER_WORDS.put(1, "one");
NUMBER_WORDS.put(2, "two");
NUMBER_WORDS.put(3, "three");
NUMBER_WORDS.put(4, "four");
NUMBER_WORDS.put(5, "five");
NUMBER_WORDS.put(6, "six");
NUMBER_WORDS.put(7, "seven");
NUMBER_WORDS.put(8, "eight");
NUMBER_WORDS.put(9, "nine");
NUMBER_WORDS.put(10, "ten");
}
public static String getDebugToken() {
if (mDebugToken != null) {
return mDebugToken;
@@ -116,6 +132,11 @@ public class DebugSwitchInfoImageView extends ImageView {
@Override
public void onClick(View v) {
mClickCount++;
String word = NUMBER_WORDS.get(mClickCount);
if (word == null) {
word = "One Piece!";
}
Toast.makeText(getContext(), word, Toast.LENGTH_SHORT).show();
if (mClickCount >= TARGET_CLICK_COUNT) {
mClickCount = 0;
showDebugTokenDialog();