-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
最新版的AS不能跑起来? #2
Comments
我成功运行了(Mac电脑)。首先修改 local.properties。 workingDirPath=/Users/yourusername/Library/Android/sdk/build-tools/32.0.0/ 项目修改的补丁: diff --git a/.idea/gradle.xml b/.idea/gradle.xml
index b3ef290..433942c 100644
--- a/.idea/gradle.xml
+++ b/.idea/gradle.xml
@@ -4,11 +4,8 @@
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
- <option name="testRunner" value="GRADLE" />
- <option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
- <option name="gradleHome" value="$PROJECT_DIR$/../../work_software/gradle-8.1-all/gradle-8.1" />
- <option name="gradleJvm" value="JDK" />
+ <option name="gradleJvm" value="jbr-17" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
@@ -95,6 +92,7 @@
<option value="$PROJECT_DIR$/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin_Skin/maven-red-resource" />
</set>
</option>
+ <option name="resolveExternalAnnotations" value="false" />
</GradleProjectSettings>
</option>
</component>
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 9aa43d9..47bb4eb 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -4,6 +4,10 @@
<asm skipDebug="false" skipFrames="false" skipCode="false" expandFrames="false" />
<groovy codeStyle="LEGACY" />
</component>
+ <component name="ASMSmaliIdeaPluginConfiguration">
+ <asm skipDebug="true" skipFrames="true" skipCode="false" expandFrames="false" />
+ <groovy codeStyle="LEGACY" />
+ </component>
<component name="DesignSurface">
<option name="filePathToZoomLevelMap">
<map>
@@ -50,5 +54,5 @@
</option>
</component>
<component name="ExternalStorageConfigurationManager" enabled="true" />
- <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="11" project-jdk-type="JavaSDK" />
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="jbr-17" project-jdk-type="JavaSDK" />
</project>
\ No newline at end of file
diff --git a/WX/WX-Code/WX-Host/app-lib/wgllss-business-re-library/build.gradle b/WX/WX-Code/WX-Host/app-lib/wgllss-business-re-library/build.gradle
index 27ca5f8..3bd4e37 100644
--- a/WX/WX-Code/WX-Host/app-lib/wgllss-business-re-library/build.gradle
+++ b/WX/WX-Code/WX-Host/app-lib/wgllss-business-re-library/build.gradle
@@ -39,7 +39,7 @@ dependencies {
implementation 'com.github.bumptech.glide:glide:4.13.2'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
//滑动删除
- implementation 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0'
+ implementation 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.2.1'
implementation "androidx.startup:startup-runtime:1.1.1"
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
diff --git a/WX/WX-Code/WX-Host/app/build.gradle b/WX/WX-Code/WX-Host/app/build.gradle
index a008a94..690e778 100644
--- a/WX/WX-Code/WX-Host/app/build.gradle
+++ b/WX/WX-Code/WX-Host/app/build.gradle
@@ -72,6 +72,9 @@ android {
kotlinOptions {
jvmTarget = '1.8'
}
+ lintOptions {
+ checkReleaseBuilds false
+ }
}
dependencies {
diff --git a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Common-Library/build.gradle b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Common-Library/build.gradle
index 3c504d5..fe9c1a0 100644
--- a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Common-Library/build.gradle
+++ b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Common-Library/build.gradle
@@ -90,7 +90,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-DownloadFace-Impl/build.gradle b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-DownloadFace-Impl/build.gradle
index eea0bb1..4531655 100644
--- a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-DownloadFace-Impl/build.gradle
+++ b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-DownloadFace-Impl/build.gradle
@@ -64,7 +64,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-Loader-Impl/build.gradle b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-Loader-Impl/build.gradle
index 2c1656a..0925f50 100644
--- a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-Loader-Impl/build.gradle
+++ b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-Loader-Impl/build.gradle
@@ -64,7 +64,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-Manager/build.gradle b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-Manager/build.gradle
index 8e87fb1..fb9612d 100644
--- a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-Manager/build.gradle
+++ b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Manager/Wgllss-Dynamic-Plugin-Manager/build.gradle
@@ -73,7 +73,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-business-library/build.gradle b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-business-library/build.gradle
index fa8f62f..6b3eb64 100644
--- a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-business-library/build.gradle
+++ b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-business-library/build.gradle
@@ -108,7 +108,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-loader-version/build.gradle b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-loader-version/build.gradle
index 9f942c6..4292fdb 100644
--- a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-loader-version/build.gradle
+++ b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-loader-version/build.gradle
@@ -64,7 +64,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-home/build.gradle b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-home/build.gradle
index af4560d..fed16e4 100644
--- a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-home/build.gradle
+++ b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-home/build.gradle
@@ -92,7 +92,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-loading/build.gradle b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-loading/build.gradle
index eff34c1..052e72d 100644
--- a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-loading/build.gradle
+++ b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-loading/build.gradle
@@ -75,7 +75,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-other-lib/build.gradle b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-other-lib/build.gradle
index 7d60232..419692d 100644
--- a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-other-lib/build.gradle
+++ b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-other-lib/build.gradle
@@ -62,7 +62,7 @@ dependencies {
compileOnly 'com.github.getActivity:XXPermissions:16.2'
compileOnly 'com.github.bumptech.glide:glide:4.13.2'
- compileOnly 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0'
+ compileOnly 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.2.1'
}
@@ -95,7 +95,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-other2-lib2/build.gradle b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-other2-lib2/build.gradle
index 13e3619..19cdd48 100644
--- a/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-other2-lib2/build.gradle
+++ b/WX/WX-Code/WX-Plugin/Wgllss-Dynamic-Plugin-Sample/wgllss-sample-ui-other2-lib2/build.gradle
@@ -87,7 +87,7 @@ def commandDex(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Dynamic-Host-SDK-Lib/Wgllss-Dynamic-Host-Protobuf-Lib/build.gradle b/WX/WX-Dynamic-Host-SDK-Lib/Wgllss-Dynamic-Host-Protobuf-Lib/build.gradle
index 5e7e327..9a9be24 100644
--- a/WX/WX-Dynamic-Host-SDK-Lib/Wgllss-Dynamic-Host-Protobuf-Lib/build.gradle
+++ b/WX/WX-Dynamic-Host-SDK-Lib/Wgllss-Dynamic-Host-Protobuf-Lib/build.gradle
@@ -49,6 +49,17 @@ protobuf {
}
}
+protobuf {
+ protoc {
+ // for apple m1, please add protoc_platform=osx-x86_64 in $HOME/.gradle/gradle.properties
+ if (project.hasProperty('protoc_platform')) {
+ artifact = "com.google.protobuf:protoc:3.5.1:${protoc_platform}"
+ } else {
+ artifact = "com.google.protobuf:protoc:3.5.1"
+ }
+ }
+}
+
dependencies {
implementation 'com.google.protobuf:protobuf-java:3.5.1'
implementation 'com.google.protobuf:protoc:3.5.1'
diff --git a/WX/WX-Maven/WX-Host/sample-lib/maven-wgllss-business-re-library/build.gradle b/WX/WX-Maven/WX-Host/sample-lib/maven-wgllss-business-re-library/build.gradle
index 21c24f7..9747ee1 100644
--- a/WX/WX-Maven/WX-Host/sample-lib/maven-wgllss-business-re-library/build.gradle
+++ b/WX/WX-Maven/WX-Host/sample-lib/maven-wgllss-business-re-library/build.gradle
@@ -39,7 +39,7 @@ dependencies {
implementation 'com.github.bumptech.glide:glide:4.13.2'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
//滑动删除
- implementation 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0'
+ implementation 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.2.1'
implementation "androidx.startup:startup-runtime:1.1.1"
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
diff --git a/WX/WX-Maven/WX-Host/sample/build.gradle b/WX/WX-Maven/WX-Host/sample/build.gradle
index 2cf794f..888f651 100644
--- a/WX/WX-Maven/WX-Host/sample/build.gradle
+++ b/WX/WX-Maven/WX-Host/sample/build.gradle
@@ -72,6 +72,9 @@ android {
kotlinOptions {
jvmTarget = '1.8'
}
+ lintOptions {
+ checkReleaseBuilds false
+ }
}
dependencies {
diff --git a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Common-Library/build.gradle b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Common-Library/build.gradle
index f1acdb6..09e5f69 100644
--- a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Common-Library/build.gradle
+++ b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Common-Library/build.gradle
@@ -90,7 +90,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-DownloadFace-Impl/build.gradle b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-DownloadFace-Impl/build.gradle
index 75a1db3..1f13d8d 100644
--- a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-DownloadFace-Impl/build.gradle
+++ b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-DownloadFace-Impl/build.gradle
@@ -64,7 +64,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-Loader-Impl/build.gradle b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-Loader-Impl/build.gradle
index bd55430..cf0a168 100644
--- a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-Loader-Impl/build.gradle
+++ b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-Loader-Impl/build.gradle
@@ -64,7 +64,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-Manager/build.gradle b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-Manager/build.gradle
index e17b4f4..61a0d85 100644
--- a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-Manager/build.gradle
+++ b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Manager/Maven-Wgllss-Dynamic-Plugin-Manager/build.gradle
@@ -73,7 +73,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-business-library/build.gradle b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-business-library/build.gradle
index 1817a0a..1eef648 100644
--- a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-business-library/build.gradle
+++ b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-business-library/build.gradle
@@ -108,7 +108,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-loader-version/build.gradle b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-loader-version/build.gradle
index 1418f0f..fa78744 100644
--- a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-loader-version/build.gradle
+++ b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-loader-version/build.gradle
@@ -64,7 +64,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-home/build.gradle b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-home/build.gradle
index 163b943..f1a7f8d 100644
--- a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-home/build.gradle
+++ b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-home/build.gradle
@@ -92,7 +92,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-loading/build.gradle b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-loading/build.gradle
index 77e593f..3d600ed 100644
--- a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-loading/build.gradle
+++ b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-loading/build.gradle
@@ -75,7 +75,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-other-lib/build.gradle b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-other-lib/build.gradle
index 49bc637..c012767 100644
--- a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-other-lib/build.gradle
+++ b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-other-lib/build.gradle
@@ -60,7 +60,7 @@ dependencies {
compileOnly 'com.github.getActivity:XXPermissions:16.2'
compileOnly 'com.github.bumptech.glide:glide:4.13.2'
- compileOnly 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0'
+ compileOnly 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.2.1'
}
@@ -93,7 +93,7 @@ def createCopyTask(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-other2-lib2/build.gradle b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-other2-lib2/build.gradle
index 4a4f4ab..eaf64d7 100644
--- a/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-other2-lib2/build.gradle
+++ b/WX/WX-Maven/WX-Plugin/Maven-Wgllss-Dynamic-Plugin-Sample/maven-wgllss-sample-ui-other2-lib2/build.gradle
@@ -88,7 +88,7 @@ def commandDex(buildType) {
group = 'other'
description = "${name}到dx执行中..."
workingDir workingDirPath
- it.commandLine 'cmd', "/c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
+ it.commandLine 'zsh', "-c", "d8 --output ${outputDexFile.name} ${outputFile.name}"
}.dependsOn(copyTask.name)
return tasks.create("assembleDxCommandAndCopy", Copy) {
diff --git a/gradle.properties b/gradle.properties
index 0a6cc9a..54895c6 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -6,7 +6,7 @@
# 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=-Xmx4096m -Dfile.encoding=UTF-8
+org.gradle.jvmargs= --add-opens java.base/java.io=ALL-UNNAMED -Xmx4096m -Dfile.encoding=UTF-8
# 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
@@ -26,3 +26,6 @@ android.enableJetifier=true
android.injected.testOnly=false
android.enableBuildCache=false
+android.enableR8.fullMode=true
+
+protoc_platform=osx-x86_64
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index fed0e62..655c0f1 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Wed Mar 20 14:49:25 CST 2024
distributionBase=GRADLE_USER_HOME
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
diff --git a/gradlew b/gradlew
old mode 100644
new mode 100755 |
运行的时候,需要注意一下,先运行 |
麻烦问一下,你的mac电脑能否正常打出build文件夹下那14个文件呢,vc文件跟那13个classes_*文件? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: