From 48d36c6d9660c92bb49775e6cd86a0fe7208a56e Mon Sep 17 00:00:00 2001 From: LaizyBoy Date: Wed, 6 May 2026 12:40:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0.gitignore=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=B9=B6=E7=A7=BB=E9=99=A4=E9=A1=B9=E7=9B=AE=E7=89=B9=E5=AE=9A?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将项目特定的配置文件移至忽略列表,避免上传至版本库: - 添加 /settings.gradle 和 /gradle.properties 到 .gitignore - 从版本库中删除 settings.gradle 和 gradle.properties - 保持项目配置本地化,便于多项目切换管理 --- .gitignore | 8 ++--- gradle.properties | 21 ------------- settings.gradle | 79 ----------------------------------------------- 3 files changed, 2 insertions(+), 106 deletions(-) delete mode 100644 gradle.properties delete mode 100644 settings.gradle diff --git a/.gitignore b/.gitignore index 994a6c7..eaa5efa 100644 --- a/.gitignore +++ b/.gitignore @@ -97,9 +97,5 @@ lint-results.html ## WinBoLL 基础应用(避免上传敏感配置) /winboll.properties /local.properties - -## WinBoLL 衍生应用, -## 外派类型类库应用需要注释掉以下部分,以便部署通用类库编译配置。 -## APPBase,AES需要上传以下两种配置。 -#/settings.gradle -#/gradle.properties +/settings.gradle +/gradle.properties diff --git a/gradle.properties b/gradle.properties deleted file mode 100644 index 74b1f76..0000000 --- a/gradle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# Project-wide Gradle settings. -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app"s APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn -android.useAndroidX=true -# Automatically convert third-party libraries to use AndroidX -android.enableJetifier=true -# 保持与旧版Gradle插件的兼容 -android.disableAutomaticComponentCreation=true diff --git a/settings.gradle b/settings.gradle deleted file mode 100644 index e9fb2f5..0000000 --- a/settings.gradle +++ /dev/null @@ -1,79 +0,0 @@ -// AutoInstaller 项目编译设置 -//include ':autoinstaller' -//rootProject.name = "autoinstaller" - -// MJ 项目编译设置 -//include ':mj' -//rootProject.name = "mj" - -// PowerBell 项目编译设置 -//include ':powerbell' -//rootProject.name = "powerbell" - -// APPBase 项目编译设置 -include ':appbase' -include ':libappbase' -rootProject.name = "appbase" - -// APPUtils 项目编译设置 -//include ':apputils' -//include ':libapputils' -//rootProject.name = "apputils" - -// JC 项目编译设置 -//include ':jc' -//include ':libjc' -//rootProject.name = "jc" - -// AES 项目编译设置 -//include ':aes' -//include ':libaes' -//rootProject.name = "aes" - -// Contacts 项目编译设置 -//include ':contacts' -//rootProject.name = "contacts" - -// MyMessageManager 项目编译设置 -//include ':mymessagemanager' -//rootProject.name = "mymessagemanager" - -// TimeStamp 项目编译设置 -//include ':timestamp' -//rootProject.name = "timestamp" - -// AndroidDemo 项目编译设置 -//include ':androiddemo' -//rootProject.name = "androiddemo" - -// AndroidXDemo 项目编译设置 -//include ':androidxdemo' -//rootProject.name = "androidxdemo" - -// Ollama 项目编译设置 -//include ':ollama' -//rootProject.name = "ollama" - -// NumTable 项目编译设置 -//include ':numtable' -//rootProject.name = "numtable" - -// MidiPlayer 项目编译设置 -//include ':midiplayer' -//rootProject.name = "midiplayer" - -// WebPageSources 项目编译设置 -//include ':webpagesources' -//rootProject.name = "webpagesources" - -// Positions 项目编译设置 -//include ':positions' -//rootProject.name = "positions" - -// WinBoLL 项目编译设置 -//include ':winboll' -//rootProject.name = "winboll" - -// RegExpUtils 项目编译设置 -//include ':regexputils' -//rootProject.name = "regexputils"