From add82d19ddd0e6bec51813e27beff1b86b319212 Mon Sep 17 00:00:00 2001 From: Shashi Ranjan Date: Mon, 8 Jun 2020 18:39:46 +0530 Subject: [PATCH] Updated gradle plugin version to 3.5.2 Got rid of deprecated compile method --- .../bootstraps/common/build/templates/build.tmpl.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle b/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle index 2b0c540f06..f2d93055bf 100644 --- a/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle +++ b/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle @@ -5,7 +5,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.4' + classpath 'com.android.tools.build:gradle:3.5.2' } } @@ -99,14 +99,15 @@ android { dependencies { {%- for aar in aars %} - compile(name: '{{ aar }}', ext: 'aar') + implementation(name: '{{ aar }}', ext: 'aar') {%- endfor -%} {%- for jar in jars %} - compile files('src/main/libs/{{ jar }}') + implementation files('src/main/libs/{{ jar }}') {%- endfor -%} {%- if args.depends -%} {%- for depend in args.depends %} - compile '{{ depend }}' + implementation '{{ depend }}' {%- endfor %} {%- endif %} } +