@@ -45,7 +45,7 @@ buildscript {
45
45
configurations {
46
46
// Remove the full antlr library that's added by the antlr plugin. We manually
47
47
// add the smaller antlr_runtime library instead
48
- compile . exclude group : ' org.antlr' , module : ' antlr'
48
+ implementation . exclude group : ' org.antlr' , module : ' antlr'
49
49
}
50
50
51
51
sourceSets {
@@ -73,13 +73,14 @@ idea {
73
73
}
74
74
75
75
dependencies {
76
- compile project(' :util' )
77
- compile project(' :dexlib2' )
78
- compile depends. antlr_runtime
79
- compile depends. jcommander
80
- compile depends. stringtemplate
76
+ implementation project(' :util' )
77
+ implementation project(' :dexlib2' )
78
+ implementation depends. antlr_runtime
79
+ implementation depends. jcommander
80
+ implementation depends. stringtemplate
81
+ implementation depends. guava
81
82
82
- testCompile depends. junit
83
+ testImplementation depends. junit
83
84
84
85
antlr depends. antlr
85
86
}
@@ -90,7 +91,7 @@ processResources.expand('version': version)
90
91
// Build a separate jar that contains all dependencies
91
92
task fatJar (type : Jar , dependsOn : jar) {
92
93
from sourceSets. main. output
93
- from { configurations. compile . collect { it. isDirectory() ? it : zipTree(it) } }
94
+ from { configurations. runtimeClasspath . collect { it. isDirectory() ? it : zipTree(it) } }
94
95
95
96
classifier = ' fat'
96
97
0 commit comments