Skip to content

Commit

Permalink
Updated gradle plugin version to 3.5.2
Browse files Browse the repository at this point in the history
Got rid of deprecated compile method
  • Loading branch information
shashi278 authored and vesellov committed Feb 10, 2021
1 parent cbae93a commit bc3caaf
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}

Expand Down Expand Up @@ -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 %}
}

0 comments on commit bc3caaf

Please sign in to comment.