-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to gradle 5 #49
base: master
Are you sure you want to change the base?
Conversation
@nganhkhoa many thanks for take care of this long awaited issue of upgrading the plugin to a newer gradle version |
I've build and install the plugin locally with 5.4 (the chosen wrapper) but i've got a compilation error with the lastest gradle 5 (5.6.4). It would be fine for me but there is a resaon to not choose the lastest one? |
I choose 5.3 to test but didn't think that 5.6 breaks stuff also. I will test on latest Gradle and update. |
thanks! also i think the version of the plugins should be changed at least to |
The eta android project is a really good example to test the plugin but i wonder if you had the opportunity of test the simple projects under the example folder, they should be updated to use the last plugin version (including the last supported gradlew) |
The 5.6.4 errors belongs to OverridingProperty not implement I check the docs and these 2 methods were added on 5.6, so we could have a version The If you want to support Gradle 6, I will take another week to produce, though it just came out days ago. But we focus on Gradle 5 first. |
That would be great
Agree, this pr could be focused on that. |
Hi @nganhkhoa, i've tried to build you android example (in https://github.com/nganhkhoa/gradle-eta/tree/android-example). Add that example is a good idea imo. I have to make some changes:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath 'com.typelead:gradle-eta:latest.release'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
apply plugin: 'com.typelead.eta.android'
eta {
version = '0.8.6b5'
etlasVersion = '1.5.0.0'
}
Could you check if thos changes works for you and include the log of the error if you continue having it |
Unfortunately that didn't work either. The output of the java compiler arguments |
It's been a while, is Eta stable enough to get started working on Android app? I want to continue with this PR. |
Upgrade to work with latest Android Studio and Gradle 5 above. Although there are still many deprecation but this small fix works.
Eta Android 2048 using Gradle 5
The followings is crucial to update next because it will get removed by the end of 2019.
The other 40 deprecation and uncheck warnings:
deprecation.log
This OverridingProperty class, OverridingProperty.java, has a lot of new methods but I didn't know how fix other than overriding them with dummy. Some methods don't exist in lower Gradle API.
This PR resolves: #38, #43, #45, #46 (I think they all point to the same problem of higher Android Gradle and Gradle version).