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

transFormList = ["DoKitCommTransformV34"] 无效 #22

Closed
manza7014 opened this issue Dec 24, 2021 · 7 comments
Closed

transFormList = ["DoKitCommTransformV34"] 无效 #22

manza7014 opened this issue Dec 24, 2021 · 7 comments
Labels
bug Something isn't working

Comments

@manza7014
Copy link

版本:

 classpath 'io.github.trycatchx:rocketx:1.0.13'

RocketXPlugin log:

RocketXPlugin : the following transform were detected : 
transform: DoKitCommTransformV34
RocketXPlugin : you can disable it to speed up by this way:
transFormList = ["DoKitCommTransformV34"]

build.gradle in app module:

    RocketX {
        openLog = isBuildDebug()
        //加速模式 禁用可禁用的 transform ,速度更快
        transFormList = ["DoKitCommTransformV34"]
        //指定哪些模块不打成 aar ,字符串为 module.path
        // excludeModule = [":weex"]
    }

build analyzer:

:app:transformClassesWithDoKitCommTransformV34ForTDCFDebug**
This task frequently determines build duration because of dependencies between its inputs/outputs and other tasks.

Duration: 4.1s / 10.3% Sub-project: :app Plugin: com.android.application Type: com.android.build.gradle.internal.pipeline.TransformTask

Reason task ran

Output property 'streamOutputFolder' file /Users/yongfeng.li/develop/WorkSpace/HZFinancePro/app/build/intermediates/transforms/DoKitCommTransformV34/TDCF/debug has been removed.
 
Output property 'streamOutputFolder' file /Users/yongfeng.li/develop/WorkSpace/HZFinancePro/app/build/intermediates/transforms/DoKitCommTransformV34/TDCF/debug/0.jar has been removed.
 
Output property 'streamOutputFolder' file /Users/yongfeng.li/develop/WorkSpace/HZFinancePro/app/build/intermediates/transforms/DoKitCommTransformV34/TDCF/debug/1.jar has been removed.

步骤:
1.clean->RocketXClean
2.首次全量运行
3.第二次run
看了Reason task ran之后不知道这算不算是个问题,毕竟耗时占比还是比较多的,所以提了出来

@trycatchx trycatchx added the bug Something isn't working label Dec 24, 2021
@trycatchx
Copy link
Owner

@manza7014 待修复

@manza7014
Copy link
Author

@manza7014 待修复

好的,我这边有时间也再看看

trycatchx added a commit that referenced this issue Dec 24, 2021
@trycatchx
Copy link
Owner

使用 1.0.14 版本修复此问题。 lib 文件夹中的已更新,下周一 upload maven。

@trycatchx
Copy link
Owner

@manza7014 使用 classpath 'io.github.trycatchx:rocketx:1.0.14' 已经修复

@manza7014
Copy link
Author

@manza7014 使用 classpath 'io.github.trycatchx:rocketx:1.0.14' 已经修复
好的

trycatchx pushed a commit that referenced this issue Dec 27, 2021
@trycatchx
Copy link
Owner

trycatchx commented Dec 27, 2021

请使用 : classpath 'io.github.trycatchx:rocketx:1.0.15' 在 gradle.properties 文件下配置

# 使用空格间隔开
excludeTransForms = com.alibaba.arouter AAA bbb

@manza7014
Copy link
Author

好的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants