Skip to content

Commit 0f8743b

Browse files
committed
fix gradle 7.0+ errors
1 parent 25eba75 commit 0f8743b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/main/groovy/top/niunaijun/blackobfuscator/ObfPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class ObfPlugin implements Plugin<Project> {
1515
void apply(Project project) {
1616
this.mProject = project
1717
def android = project.extensions.findByType(AppExtension)
18-
project.configurations.create(PLUGIN_NAME).extendsFrom(project.configurations.compile)
18+
project.configurations.create(PLUGIN_NAME).extendsFrom(project.configurations.implementation)
1919
sObfuscatorExtension = project.extensions.create(PLUGIN_NAME, BlackObfuscatorExtension, project)
2020

2121
project.afterEvaluate {

0 commit comments

Comments
 (0)