File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
xrouter_plugin/src/main/java/cn/cheney/xrouter/plugin Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ android.useAndroidX=true
19
19
android.enableJetifier =true
20
20
21
21
debug = true
22
- pluginVersion = 1.0.7
22
+ pluginVersion = 1.0.8
23
23
annotationVersion = 1.0.8
24
24
compilerVersion = 1.0.8
25
25
coreVersion = 1.0.8
Original file line number Diff line number Diff line change 11
11
import com .android .build .gradle .internal .pipeline .TransformManager ;
12
12
13
13
import org .apache .commons .io .FileUtils ;
14
- import org .gradle .internal .impldep .com .google .common .collect .ImmutableSet ;
15
14
16
15
import java .io .File ;
17
16
import java .io .IOException ;
18
17
import java .util .ArrayList ;
19
18
import java .util .Collection ;
19
+ import java .util .HashSet ;
20
20
import java .util .List ;
21
21
import java .util .Set ;
22
22
@@ -90,9 +90,11 @@ public void transform(TransformInvocation transformInvocation) throws TransformE
90
90
}
91
91
}
92
92
}
93
+ Set <QualifiedContent .Scope > scopeSet = new HashSet <>();
94
+ scopeSet .add (QualifiedContent .Scope .PROJECT );
93
95
File dest = transformInvocation .getOutputProvider ().getContentLocation ("XRouter" ,
94
96
TransformManager .CONTENT_CLASS ,
95
- ImmutableSet . of ( QualifiedContent . Scope . PROJECT ) ,
97
+ scopeSet ,
96
98
Format .DIRECTORY );
97
99
for (String moduleStr : allModuleClassList ) {
98
100
XLogger .debug ("scan router module ===>" + moduleStr );
You can’t perform that action at this time.
0 commit comments