media-samples icon indicating copy to clipboard operation
media-samples copied to clipboard

Android Studio 3 build.gradle issues

Open carlrobert-sonymobile opened this issue 8 years ago • 2 comments

Importing this project as a Kotlin code sample in Android Studio 3.0.1, I get the following warnings relating to build.gradle:

  1. AS 3.0.1 warns about an outdated Kotlin runtime
  2. There are gradle deprecation warnings relating to 'compile', 'androidTestCompile' and 'testCompile' dependencies and CompileOptions.bootClasspath

I'll submit a PR.

carlrobert-sonymobile avatar Dec 17 '17 16:12 carlrobert-sonymobile

@carlrobert-sonymobile Did you ever submit a PR?

Regarding the second point, good catch. Those should all be implementation instead of compile. It looks like the java part of the sample has the same pattern.

benbaxter avatar Feb 09 '18 22:02 benbaxter

Sorry, got sidetracked by other projects. These errors are highlighted when launching the project in AS3 so I guess it's mostly about the out-of-the box experience for these samples.

carlrobert avatar Feb 12 '18 07:02 carlrobert