amino-os / Amino.Run-Demos

Amino.Run - Demo Applications
Apache License 2.0
5 stars 6 forks source link

Gradle changes in example apps #73

Closed Vishwa4jeet closed 5 years ago

Vishwa4jeet commented 5 years ago

Fixes #71

Made changes to gradle file of example apps to support graal RC14 as per the latest bintray update. Currently modified and tested following apps for which screenshots have been attached below:

  1. HanksTodo Selection_068

  2. Chess Selection_069

  3. MinnieTwitter Selection_070

  4. FaceRecognition Selection_077

AmitRoushan commented 5 years ago

Please add brief description of gradle changes required here

Vishwa4jeet commented 5 years ago
  1. Updated the maven url link to use the latest bintary upload. (Name change from DCAP-> Amino)
  2. Updated 'com.android.tools.build:gradle' version from 3.0.0 to 3.3.1
  3. Upon upgrading to 3.3.1 had to update gradle version to 4.10.1 (screenshot attached below taken from android docs shows the plugin version and their required gradle version) Selection_071
  4. Based on recommendation from IDE, upgraded Android SDK build tools version from 27.0.2 to 28.0.3 at required places. (Screenshot attached below) Selection_056
  5. On changing to any plugin version above 3.0.0 the path to build .class files changes from (build-> intermediates-> classes) to (build-> intermediates-> javac-> debug-> compileDebugJavaWithJavac-> classes) Selection_076 As described in the comment above, compilation still works as usual but at runtime we get error as FileNotFoundException. So changed this path in the gradle file at required places.
VenuReddy2103 commented 5 years ago

LGTM