build: syntax updates for gradle files

This commit is contained in:
Connor Tumbleson
2021-03-04 07:21:22 -05:00
parent 45c91ef5bf
commit e9a897febe
3 changed files with 21 additions and 17 deletions

View File

@ -13,6 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import proguard.gradle.ProGuardTask
apply plugin: 'com.github.johnrengelman.shadow'
dependencies {
@ -43,7 +45,7 @@ task cleanOutputDirectory(type: Delete) {
delete fileTree(dir: jar.getDestinationDirectory().getAsFile(), exclude: "apktool-cli-all.jar")
}
task proguard(type: proguard.gradle.ProGuardTask, dependsOn: shadowJar) {
task proguard(type: ProGuardTask, dependsOn: shadowJar) {
injars shadowJar.getArchiveFile()
// Java 9 and prior uses merged package for runtime, later uses split jmod files.