-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
优化在透明 Activity 展示 Logcat 入口逻辑 升级和适配 EasyWindow 悬浮窗框架 10.6 版本
- Loading branch information
1 parent
01a3613
commit dd34a59
Showing
8 changed files
with
105 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// 通用配置 | ||
android { | ||
|
||
// 编译源码版本 | ||
compileSdk 34 | ||
defaultConfig { | ||
// 最低安装版本 | ||
minSdk 16 | ||
// Android 版本适配指南:https://github.com/getActivity/AndroidVersionAdapter | ||
targetSdk 34 | ||
versionCode 1182 | ||
versionName "11.82" | ||
} | ||
|
||
// 支持 Java JDK 8 | ||
compileOptions { | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
// 读取 local.properties 文件配置 | ||
def properties = new Properties() | ||
def localPropertiesFile = rootProject.file("local.properties") | ||
if (localPropertiesFile.exists()) { | ||
localPropertiesFile.withInputStream { inputStream -> | ||
properties.load(inputStream) | ||
} | ||
} | ||
|
||
String buildDirPath = properties.getProperty("build.dir") | ||
if (buildDirPath != null && buildDirPath != "") { | ||
// 将构建文件统一输出到指定的目录下 | ||
setBuildDir(new File(buildDirPath, rootProject.name + "/build/${path.replaceAll(':', '/')}")) | ||
} else { | ||
// 将构建文件统一输出到项目根目录下的 build 文件夹 | ||
setBuildDir(new File(rootDir, "build/${path.replaceAll(':', '/')}")) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters