Compare commits

...

4 Commits

4 changed files with 26 additions and 34 deletions

View File

@@ -1,6 +1,15 @@
// 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://clojars.org/repo/" }
maven { url "https://jitpack.io" }
mavenCentral()
google()
mavenLocal { mavenLocal {
// 设置本地Maven仓库路径 // 设置本地Maven仓库路径
url 'file:///sdcard/.m2/repository/' url 'file:///sdcard/.m2/repository/'
@@ -11,19 +20,6 @@ buildscript {
maven { url "https://nexus.winboll.cc/repository/maven-public/" } maven { url "https://nexus.winboll.cc/repository/maven-public/" }
// "WinBoLL Snapshot" // "WinBoLL Snapshot"
maven { url "https://nexus.winboll.cc/repository/maven-snapshots/" } maven { url "https://nexus.winboll.cc/repository/maven-snapshots/" }
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://clojars.org/repo/" }
maven { url "https://jitpack.io" }
mavenCentral()
google()
//println "mavenLocal : ==========="
//println mavenLocal().url
//println "mavenLocal : ==========="
//mavenLocal()
} }
dependencies { dependencies {
// 适配MIUI12 // 适配MIUI12
@@ -35,6 +31,15 @@ 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://clojars.org/repo/" }
maven { url "https://jitpack.io" }
mavenCentral()
google()
mavenLocal { mavenLocal {
// 设置本地Maven仓库路径 // 设置本地Maven仓库路径
url 'file:///sdcard/.m2/repository/' url 'file:///sdcard/.m2/repository/'
@@ -45,19 +50,6 @@ allprojects {
maven { url "https://nexus.winboll.cc/repository/maven-public/" } maven { url "https://nexus.winboll.cc/repository/maven-public/" }
// "WinBoLL Snapshot" // "WinBoLL Snapshot"
maven { url "https://nexus.winboll.cc/repository/maven-snapshots/" } maven { url "https://nexus.winboll.cc/repository/maven-snapshots/" }
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://clojars.org/repo/" }
maven { url "https://jitpack.io" }
mavenCentral()
google()
//println "mavenLocal : ==========="
//println mavenLocal().url
//println "mavenLocal : ==========="
//mavenLocal()
} }
ext { ext {
// 定义全局变量,常用于版本管理 // 定义全局变量,常用于版本管理

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Tue Mar 31 13:51:27 HKT 2026 #Sat Apr 11 00:18:11 HKT 2026
stageCount=16 stageCount=17
libraryProject= libraryProject=
baseVersion=15.12 baseVersion=15.12
publishVersion=15.12.15 publishVersion=15.12.16
buildCount=0 buildCount=0
baseBetaVersion=15.12.16 baseBetaVersion=15.12.17

View File

@@ -322,7 +322,7 @@ public class PositionTaskListView extends LinearLayout {
String desc = task.getTaskDescription() == null ? "未设置描述" : task.getTaskDescription(); String desc = task.getTaskDescription() == null ? "未设置描述" : task.getTaskDescription();
h.tvSimpleTaskDesc.setText(String.format("任务:%s", desc)); h.tvSimpleTaskDesc.setText(String.format("任务:%s", desc));
h.tvStartTime.setText(genSelectedTimeText(task.getStartTime())); h.tvStartTime.setText(genSelectedTimeText(task.getStartTime()));
String cond = task.isGreaterThan() ? "大于" : "小于"; String cond = task.isGreaterThan() ? "大于(◎)" : "小于(•)";
h.tvSimpleDistanceCond.setText(String.format("条件:距离 %s %d 米", cond, task.getDiscussDistance())); h.tvSimpleDistanceCond.setText(String.format("条件:距离 %s %d 米", cond, task.getDiscussDistance()));
h.tvSimpleIsEnable.setText(task.isEnable() ? "状态:已启用" : "状态:已禁用"); h.tvSimpleIsEnable.setText(task.isEnable() ? "状态:已启用" : "状态:已禁用");
h.tvSimpleIsEnable.setTextColor(task.isEnable() h.tvSimpleIsEnable.setTextColor(task.isEnable()
@@ -341,7 +341,7 @@ public class PositionTaskListView extends LinearLayout {
String desc = task.getTaskDescription() == null ? "未设置描述" : task.getTaskDescription(); String desc = task.getTaskDescription() == null ? "未设置描述" : task.getTaskDescription();
holder.tvTaskDesc.setText(String.format("任务:%s", desc)); holder.tvTaskDesc.setText(String.format("任务:%s", desc));
String cond = task.isGreaterThan() ? "大于" : "小于"; String cond = task.isGreaterThan() ? "大于(◎)" : "小于(•)";
holder.tvTaskDistance.setText(String.format("条件:%s %d 米", cond, task.getDiscussDistance())); holder.tvTaskDistance.setText(String.format("条件:%s %d 米", cond, task.getDiscussDistance()));
holder.tvStartTime.setText(genSelectedTimeText(task.getStartTime())); holder.tvStartTime.setText(genSelectedTimeText(task.getStartTime()));

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Mon Mar 16 19:52:21 GMT 2026 #Wed Apr 08 17:37:24 GMT 2026
stageCount=26 stageCount=26
libraryProject= libraryProject=
baseVersion=15.11 baseVersion=15.11
publishVersion=15.11.25 publishVersion=15.11.25
buildCount=29 buildCount=30
baseBetaVersion=15.11.26 baseBetaVersion=15.11.26