Skip to content

Commit add82d1

Browse files
committed
Updated gradle plugin version to 3.5.2
Got rid of deprecated compile method
1 parent ef2e7a9 commit add82d1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:3.1.4'
8+
classpath 'com.android.tools.build:gradle:3.5.2'
99
}
1010
}
1111

@@ -99,14 +99,15 @@ android {
9999

100100
dependencies {
101101
{%- for aar in aars %}
102-
compile(name: '{{ aar }}', ext: 'aar')
102+
implementation(name: '{{ aar }}', ext: 'aar')
103103
{%- endfor -%}
104104
{%- for jar in jars %}
105-
compile files('src/main/libs/{{ jar }}')
105+
implementation files('src/main/libs/{{ jar }}')
106106
{%- endfor -%}
107107
{%- if args.depends -%}
108108
{%- for depend in args.depends %}
109-
compile '{{ depend }}'
109+
implementation '{{ depend }}'
110110
{%- endfor %}
111111
{%- endif %}
112112
}
113+

0 commit comments

Comments
 (0)