Skip to content
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

插件未生效,以下是./gradlew tasks --all日志 #26

Open
ANewAnonymous opened this issue May 17, 2023 · 3 comments
Open

插件未生效,以下是./gradlew tasks --all日志 #26

ANewAnonymous opened this issue May 17, 2023 · 3 comments
Labels
problems Extra attention is needed

Comments

@ANewAnonymous
Copy link

ANewAnonymous commented May 17, 2023

Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details

> Configure project :releaseLuckyPoker
=====BlackObfuscator=====
BlackObfuscatorExtension{enabled=true, depth=2, obfClass=[com.game.truco.blackjack], blackClass=[top.niunaijun.black]}
=========================
add Task mergeLibDexLucky_PokerDebug
add Task mergeProjectDexLucky_PokerDebug
Lucky_PokerDebug mappingFile null
Lucky_PokerRelease mappingFile D:\DevelopmentProject\Android\CompanyProject\GameProject\BrazilGame\replugin-sample\GameHost\releaseLuckyPoker\build\outp
uts\mapping\Lucky_Poker\release\mapping.txt

> Task :tasks

------------------------------------------------------------
Tasks runnable from root project
------------------------------------------------------------

Android tasks
-------------
releaseLuckyPoker:androidDependencies - Displays the Android dependencies of the project.
releaseLuckyPoker:signingReport - Displays the signing info for the base and test modules
releaseLuckyPoker:sourceSets - Prints out all the source sets defined in this project.

Build tasks
-----------
releaseLuckyPoker:assemble - Assemble main outputs for all the variants.
releaseLuckyPoker:assembleAndroidTest - Assembles all the Test applications.
releaseLuckyPoker:assembleDebug - Assembles main outputs for all Debug variants.
releaseLuckyPoker:assembleLucky_Poker - Assembles main outputs for all Lucky_Poker variants.
releaseLuckyPoker:assembleRelease - Assembles main outputs for all Release variants.
releaseLuckyPoker:build - Assembles and tests this project.
releaseLuckyPoker:buildDependents - Assembles and tests this project and all projects that depend on it.
releaseLuckyPoker:buildNeeded - Assembles and tests this project and all projects it depends on.
releaseLuckyPoker:bundle - Assemble bundles for all the variants.
releaseLuckyPoker:bundleDebug - Assembles bundles for all Debug variants.
releaseLuckyPoker:bundleLucky_Poker - Assembles bundles for all Lucky_Poker variants.
releaseLuckyPoker:bundleRelease - Assembles bundles for all Release variants.
releaseLuckyPoker:clean - Deletes the build directory.
releaseLuckyPoker:cleanBuildCache - Deletes the build cache directory.
releaseLuckyPoker:compileLucky_PokerDebugAndroidTestSources
releaseLuckyPoker:compileLucky_PokerDebugSources
releaseLuckyPoker:compileLucky_PokerDebugUnitTestSources
releaseLuckyPoker:compileLucky_PokerReleaseSources
releaseLuckyPoker:compileLucky_PokerReleaseUnitTestSources

Build Setup tasks
-----------------
init - Initializes a new Gradle build.
wrapper - Generates Gradle wrapper files.

Cleanup tasks
-------------
releaseLuckyPoker:lintFix - Runs lint on all variants and applies any safe suggestions to the source code.

Help tasks
----------
buildEnvironment - Displays all buildscript dependencies declared in root project 'GameHost'.
releaseLuckyPoker:buildEnvironment - Displays all buildscript dependencies declared in project ':releaseLuckyPoker'.
components - Displays the components produced by root project 'GameHost'. [incubating]
releaseLuckyPoker:components - Displays the components produced by project ':releaseLuckyPoker'. [incubating]
dependencies - Displays all dependencies declared in root project 'GameHost'.
releaseLuckyPoker:dependencies - Displays all dependencies declared in project ':releaseLuckyPoker'.
dependencyInsight - Displays the insight into a specific dependency in root project 'GameHost'.
releaseLuckyPoker:dependencyInsight - Displays the insight into a specific dependency in project ':releaseLuckyPoker'.
dependentComponents - Displays the dependent components of components in root project 'GameHost'. [incubating]
releaseLuckyPoker:dependentComponents - Displays the dependent components of components in project ':releaseLuckyPoker'. [incubating]
help - Displays a help message.
releaseLuckyPoker:help - Displays a help message.
model - Displays the configuration model of root project 'GameHost'. [incubating]
releaseLuckyPoker:model - Displays the configuration model of project ':releaseLuckyPoker'. [incubating]
outgoingVariants - Displays the outgoing variants of root project 'GameHost'.
releaseLuckyPoker:outgoingVariants - Displays the outgoing variants of project ':releaseLuckyPoker'.
projects - Displays the sub-projects of root project 'GameHost'.
releaseLuckyPoker:projects - Displays the sub-projects of project ':releaseLuckyPoker'.
properties - Displays the properties of root project 'GameHost'.
releaseLuckyPoker:properties - Displays the properties of project ':releaseLuckyPoker'.
tasks - Displays the tasks runnable from root project 'GameHost' (some of the displayed tasks may belong to subprojects).
releaseLuckyPoker:tasks - Displays the tasks runnable from project ':releaseLuckyPoker'.

Install tasks
-------------
releaseLuckyPoker:installLucky_PokerDebug - Installs the DebugLucky_Poker build.
releaseLuckyPoker:installLucky_PokerDebugAndroidTest - Installs the android (on device) tests for the Lucky_PokerDebug build.
releaseLuckyPoker:installLucky_PokerRelease - Installs the ReleaseLucky_Poker build.
releaseLuckyPoker:uninstallAll - Uninstall all applications.
releaseLuckyPoker:uninstallLucky_PokerDebug - Uninstalls the DebugLucky_Poker build.
releaseLuckyPoker:uninstallLucky_PokerDebugAndroidTest - Uninstalls the android (on device) tests for the Lucky_PokerDebug build.
releaseLuckyPoker:uninstallLucky_PokerRelease - Uninstalls the ReleaseLucky_Poker build.

Verification tasks
------------------
releaseLuckyPoker:check - Runs all checks.
releaseLuckyPoker:connectedAndroidTest - Installs and runs instrumentation tests for all flavors on connected devices.
releaseLuckyPoker:connectedCheck - Runs all device checks on currently connected devices.
releaseLuckyPoker:connectedLucky_PokerDebugAndroidTest - Installs and runs the tests for Lucky_PokerDebug on connected devices.
releaseLuckyPoker:deviceAndroidTest - Installs and runs instrumentation tests using all Device Providers.
releaseLuckyPoker:deviceCheck - Runs all device checks using Device Providers and Test Servers.
releaseLuckyPoker:lint - Runs lint on all variants.
releaseLuckyPoker:lintLucky_PokerDebug - Runs lint on the Lucky_PokerDebug build.
releaseLuckyPoker:lintLucky_PokerRelease - Runs lint on the Lucky_PokerRelease build.
releaseLuckyPoker:test - Run unit tests for all variants.
releaseLuckyPoker:testLucky_PokerDebugUnitTest - Run unit tests for the Lucky_PokerDebug build.
releaseLuckyPoker:testLucky_PokerReleaseUnitTest - Run unit tests for the Lucky_PokerRelease build.

Other tasks
-----------
releaseLuckyPoker:assembleLucky_PokerDebug - Assembles main output for variant Lucky_PokerDebug
releaseLuckyPoker:assembleLucky_PokerDebugAndroidTest - Assembles main output for variant Lucky_PokerDebugAndroidTest
releaseLuckyPoker:assembleLucky_PokerDebugUnitTest - Assembles main output for variant Lucky_PokerDebugUnitTest
releaseLuckyPoker:assembleLucky_PokerRelease - Assembles main output for variant Lucky_PokerRelease
releaseLuckyPoker:assembleLucky_PokerReleaseUnitTest - Assembles main output for variant Lucky_PokerReleaseUnitTest
releaseLuckyPoker:buildLucky_PokerDebugPreBundle
releaseLuckyPoker:buildLucky_PokerReleasePreBundle
releaseLuckyPoker:bundleLucky_PokerDebug - Assembles bundle for variant Lucky_PokerDebug
releaseLuckyPoker:bundleLucky_PokerDebugAndroidTestClasses
releaseLuckyPoker:bundleLucky_PokerDebugAndroidTestResources
releaseLuckyPoker:bundleLucky_PokerDebugClasses
releaseLuckyPoker:bundleLucky_PokerDebugResources
releaseLuckyPoker:bundleLucky_PokerDebugUnitTestClasses
releaseLuckyPoker:bundleLucky_PokerRelease - Assembles bundle for variant Lucky_PokerRelease
releaseLuckyPoker:bundleLucky_PokerReleaseClasses
releaseLuckyPoker:bundleLucky_PokerReleaseResources
releaseLuckyPoker:bundleLucky_PokerReleaseUnitTestClasses
releaseLuckyPoker:checkLucky_PokerDebugAndroidTestDuplicateClasses
releaseLuckyPoker:checkLucky_PokerDebugDuplicateClasses
releaseLuckyPoker:checkLucky_PokerDebugManifest
releaseLuckyPoker:checkLucky_PokerReleaseManifest
clean
releaseLuckyPoker:collectLucky_PokerDebugDependencies
releaseLuckyPoker:collectLucky_PokerReleaseDependencies
releaseLuckyPoker:compileLint
releaseLuckyPoker:compileLucky_PokerDebugAidl
releaseLuckyPoker:compileLucky_PokerDebugAndroidTestAidl
releaseLuckyPoker:compileLucky_PokerDebugAndroidTestJavaWithJavac
releaseLuckyPoker:compileLucky_PokerDebugAndroidTestRenderscript
releaseLuckyPoker:compileLucky_PokerDebugAndroidTestShaders
releaseLuckyPoker:compileLucky_PokerDebugJavaWithJavac
releaseLuckyPoker:compileLucky_PokerDebugRenderscript
releaseLuckyPoker:compileLucky_PokerDebugShaders
releaseLuckyPoker:compileLucky_PokerDebugUnitTestJavaWithJavac
releaseLuckyPoker:compileLucky_PokerReleaseAidl
releaseLuckyPoker:compileLucky_PokerReleaseJavaWithJavac
releaseLuckyPoker:compileLucky_PokerReleaseRenderscript
releaseLuckyPoker:compileLucky_PokerReleaseShaders
releaseLuckyPoker:compileLucky_PokerReleaseUnitTestJavaWithJavac
releaseLuckyPoker:configureLucky_PokerDebugDependencies
releaseLuckyPoker:configureLucky_PokerReleaseDependencies
releaseLuckyPoker:consumeConfigAttr
releaseLuckyPoker:createLucky_PokerDebugCompatibleScreenManifests
releaseLuckyPoker:createLucky_PokerReleaseCompatibleScreenManifests
releaseLuckyPoker:createMockableJar
releaseLuckyPoker:desugarLucky_PokerDebugAndroidTestFileDependencies
releaseLuckyPoker:desugarLucky_PokerDebugFileDependencies
releaseLuckyPoker:dummyLucky_PokerDebugUnitTest
releaseLuckyPoker:dummyLucky_PokerReleaseUnitTest
releaseLuckyPoker:extractApksForLucky_PokerDebug
releaseLuckyPoker:extractApksForLucky_PokerRelease
releaseLuckyPoker:extractProguardFiles
releaseLuckyPoker:generateLucky_PokerDebugAndroidTestAssets
releaseLuckyPoker:generateLucky_PokerDebugAndroidTestBuildConfig
releaseLuckyPoker:generateLucky_PokerDebugAndroidTestResources
releaseLuckyPoker:generateLucky_PokerDebugAndroidTestResValues
releaseLuckyPoker:generateLucky_PokerDebugAndroidTestSources
releaseLuckyPoker:generateLucky_PokerDebugAssets
releaseLuckyPoker:generateLucky_PokerDebugBuildConfig
releaseLuckyPoker:generateLucky_PokerDebugFeatureMetadata
releaseLuckyPoker:generateLucky_PokerDebugFeatureTransitiveDeps
releaseLuckyPoker:generateLucky_PokerDebugResources
releaseLuckyPoker:generateLucky_PokerDebugResValues
releaseLuckyPoker:generateLucky_PokerDebugSources
releaseLuckyPoker:generateLucky_PokerDebugUnitTestAssets
releaseLuckyPoker:generateLucky_PokerDebugUnitTestResources
releaseLuckyPoker:generateLucky_PokerDebugUnitTestSources
releaseLuckyPoker:generateLucky_PokerReleaseAssets
releaseLuckyPoker:generateLucky_PokerReleaseBuildConfig
releaseLuckyPoker:generateLucky_PokerReleaseFeatureMetadata
releaseLuckyPoker:generateLucky_PokerReleaseFeatureTransitiveDeps
releaseLuckyPoker:generateLucky_PokerReleaseResources
releaseLuckyPoker:generateLucky_PokerReleaseResValues
releaseLuckyPoker:generateLucky_PokerReleaseSources
releaseLuckyPoker:generateLucky_PokerReleaseUnitTestAssets
releaseLuckyPoker:generateLucky_PokerReleaseUnitTestResources
releaseLuckyPoker:generateLucky_PokerReleaseUnitTestSources
releaseLuckyPoker:javaPreCompileLucky_PokerDebug
releaseLuckyPoker:javaPreCompileLucky_PokerDebugAndroidTest
releaseLuckyPoker:javaPreCompileLucky_PokerDebugUnitTest
releaseLuckyPoker:javaPreCompileLucky_PokerRelease
releaseLuckyPoker:javaPreCompileLucky_PokerReleaseUnitTest
releaseLuckyPoker:mainApkListPersistenceLucky_PokerDebug
releaseLuckyPoker:mainApkListPersistenceLucky_PokerDebugAndroidTest
releaseLuckyPoker:mainApkListPersistenceLucky_PokerRelease
releaseLuckyPoker:makeApkFromBundleForLucky_PokerDebug
releaseLuckyPoker:makeApkFromBundleForLucky_PokerRelease
releaseLuckyPoker:mergeExtDexLucky_PokerDebug
releaseLuckyPoker:mergeExtDexLucky_PokerDebugAndroidTest
releaseLuckyPoker:mergeLibDexLucky_PokerDebug
releaseLuckyPoker:mergeLibDexLucky_PokerDebugAndroidTest
releaseLuckyPoker:mergeLucky_PokerDebugAndroidTestAssets
releaseLuckyPoker:mergeLucky_PokerDebugAndroidTestGeneratedProguardFiles
releaseLuckyPoker:mergeLucky_PokerDebugAndroidTestJavaResource
releaseLuckyPoker:mergeLucky_PokerDebugAndroidTestJniLibFolders
releaseLuckyPoker:mergeLucky_PokerDebugAndroidTestNativeLibs
releaseLuckyPoker:mergeLucky_PokerDebugAndroidTestResources
releaseLuckyPoker:mergeLucky_PokerDebugAndroidTestShaders
releaseLuckyPoker:mergeLucky_PokerDebugAssets
releaseLuckyPoker:mergeLucky_PokerDebugGeneratedProguardFiles
releaseLuckyPoker:mergeLucky_PokerDebugJavaResource
releaseLuckyPoker:mergeLucky_PokerDebugJniLibFolders
releaseLuckyPoker:mergeLucky_PokerDebugNativeLibs
releaseLuckyPoker:mergeLucky_PokerDebugResources
releaseLuckyPoker:mergeLucky_PokerDebugShaders
releaseLuckyPoker:mergeLucky_PokerReleaseAssets
releaseLuckyPoker:mergeLucky_PokerReleaseGeneratedProguardFiles
releaseLuckyPoker:mergeLucky_PokerReleaseJavaResource
releaseLuckyPoker:mergeLucky_PokerReleaseJniLibFolders
releaseLuckyPoker:mergeLucky_PokerReleaseNativeLibs
releaseLuckyPoker:mergeLucky_PokerReleaseResources
releaseLuckyPoker:mergeLucky_PokerReleaseShaders
releaseLuckyPoker:mergeProjectDexLucky_PokerDebug
releaseLuckyPoker:mergeProjectDexLucky_PokerDebugAndroidTest
releaseLuckyPoker:packageLucky_PokerDebug
releaseLuckyPoker:packageLucky_PokerDebugAndroidTest
releaseLuckyPoker:packageLucky_PokerDebugBundle
releaseLuckyPoker:packageLucky_PokerDebugUniversalApk
releaseLuckyPoker:packageLucky_PokerRelease
releaseLuckyPoker:packageLucky_PokerReleaseBundle
releaseLuckyPoker:packageLucky_PokerReleaseUniversalApk
releaseLuckyPoker:preBuild
releaseLuckyPoker:preLucky_PokerDebugAndroidTestBuild
releaseLuckyPoker:preLucky_PokerDebugBuild
releaseLuckyPoker:preLucky_PokerDebugUnitTestBuild
releaseLuckyPoker:preLucky_PokerReleaseBuild
releaseLuckyPoker:preLucky_PokerReleaseUnitTestBuild
prepareKotlinBuildScriptModel
releaseLuckyPoker:prepareKotlinBuildScriptModel
releaseLuckyPoker:prepareLintJar
releaseLuckyPoker:prepareLintJarForPublish
releaseLuckyPoker:processLucky_PokerDebugAndroidTestJavaRes
releaseLuckyPoker:processLucky_PokerDebugAndroidTestManifest
releaseLuckyPoker:processLucky_PokerDebugAndroidTestResources
releaseLuckyPoker:processLucky_PokerDebugGoogleServices
releaseLuckyPoker:processLucky_PokerDebugJavaRes
releaseLuckyPoker:processLucky_PokerDebugManifest
releaseLuckyPoker:processLucky_PokerDebugResources
releaseLuckyPoker:processLucky_PokerDebugUnitTestJavaRes
releaseLuckyPoker:processLucky_PokerReleaseGoogleServices
releaseLuckyPoker:processLucky_PokerReleaseJavaRes
releaseLuckyPoker:processLucky_PokerReleaseManifest
releaseLuckyPoker:processLucky_PokerReleaseResources
releaseLuckyPoker:processLucky_PokerReleaseUnitTestJavaRes
releaseLuckyPoker:reportBuildArtifactsLucky_PokerDebug
releaseLuckyPoker:reportBuildArtifactsLucky_PokerRelease
releaseLuckyPoker:reportSourceSetTransformAndroidTest
releaseLuckyPoker:reportSourceSetTransformAndroidTestDebug
releaseLuckyPoker:reportSourceSetTransformAndroidTestLucky_Poker
releaseLuckyPoker:reportSourceSetTransformAndroidTestLucky_PokerDebug
releaseLuckyPoker:reportSourceSetTransformDebug
releaseLuckyPoker:reportSourceSetTransformLucky_Poker
releaseLuckyPoker:reportSourceSetTransformLucky_PokerDebug
releaseLuckyPoker:reportSourceSetTransformLucky_PokerRelease
releaseLuckyPoker:reportSourceSetTransformMain
releaseLuckyPoker:reportSourceSetTransformRelease
releaseLuckyPoker:reportSourceSetTransformTest
releaseLuckyPoker:reportSourceSetTransformTestDebug
releaseLuckyPoker:reportSourceSetTransformTestLucky_Poker
releaseLuckyPoker:reportSourceSetTransformTestLucky_PokerDebug
releaseLuckyPoker:reportSourceSetTransformTestLucky_PokerRelease
releaseLuckyPoker:reportSourceSetTransformTestRelease
releaseLuckyPoker:resolveConfigAttr
releaseLuckyPoker:signingConfigWriterLucky_PokerDebug
releaseLuckyPoker:signingConfigWriterLucky_PokerDebugAndroidTest
releaseLuckyPoker:signingConfigWriterLucky_PokerRelease
releaseLuckyPoker:signLucky_PokerDebugBundle
releaseLuckyPoker:signLucky_PokerReleaseBundle
releaseLuckyPoker:stripLucky_PokerDebugDebugSymbols
releaseLuckyPoker:stripLucky_PokerReleaseDebugSymbols
releaseLuckyPoker:transformClassesAndResourcesWithR8ForLucky_PokerRelease
releaseLuckyPoker:transformClassesWithDexBuilderForLucky_PokerDebug
releaseLuckyPoker:transformClassesWithDexBuilderForLucky_PokerDebugAndroidTest
releaseLuckyPoker:validateSigningLucky_PokerDebug
releaseLuckyPoker:validateSigningLucky_PokerDebugAndroidTest
releaseLuckyPoker:validateSigningLucky_PokerRelease
releaseLuckyPoker:writeLucky_PokerDebugApplicationId
releaseLuckyPoker:writeLucky_PokerDebugModuleMetadata
releaseLuckyPoker:writeLucky_PokerReleaseApplicationId
releaseLuckyPoker:writeLucky_PokerReleaseModuleMetadata

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 5s
1 actionable task: 1 executed
@ANewAnonymous
Copy link
Author

它只在debug下生效,release下无法生效

@ANewAnonymous
Copy link
Author

我怀疑与混淆有关,当关闭混淆就可以正常工作

@ANewAnonymous
Copy link
Author

在gradle.properties中添加
android.enableR8=false
关闭R8后,问题得到了解决,我使用的是最新版本
classpath "com.github.CodingGay:BlackObfuscator-ASPlugin:3.7"
希望作者关注一下

@nnjun nnjun added the problems Extra attention is needed label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problems Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants