Open KatieBarnett opened 4 years ago
@KatieBarnett thank you for finding this and opening an issue. This is top priority, I am going to investigate it asap. Should you find some more clues in the meantime, let me know. Thanks!
Any update on this @AndroideRob?
@KatieBarnett I have a possible fix in this branch: https://github.com/pinchbv/android-analyzer/tree/1.5.0-gradle-update
Will test it tomorrow on the Canary AS and let you know.
@KatieBarnett I fixed the plugin to work with Gradle 4.0.0-alpha05 and 6.1-milestone-3. Since these have not yet been released, I won't release 1.5.0 yet. Please use the branch for now.
Project-level build.gradle:
repositories {
maven {
url "https://raw.github.com/pinchbv/android-analyzer/1.5.0-gradle-update/repo"
}
}
dependencies {
classpath "com.justpinch:androidanalyzer:1.5.0"
}
gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1-milestone-3-all.zip
Let me know if there is anything else I can do.
Thanks. Looks like it is working with your changes.
Case is, that version 1.5.0 works only with gradle 6.1-milestone-3, which requires Android Studio 4.0 (unstable). Please fix this - we need jacoco :)
@AndroideRob-zz,
With Android Analyzer 1.5.0 I am getting the below error
Could not resolve all artifacts for configuration ':classpath'. Could not resolve com.justpinch:androidanalyzer:1.5.0. Required by: project : Could not resolve com.justpinch:androidanalyzer:1.5.0. Could not get resource 'http://dl.bintray.com/kotlin/kotlin-eap/com/justpinch/androidanalyzer/1.5.0/androidanalyzer-1.5.0.pom'. Could not GET 'http://dl.bintray.com/kotlin/kotlin-eap/com/justpinch/androidanalyzer/1.5.0/androidanalyzer-1.5.0.pom'. Received status code 502 from server: Bad Gateway
Did anything change with this library? Thank you!
I upgraded to the gradle version 4.0.0-alpha04 from 4.0.0-alpha03 today and android-analyser stopped my builds from working. When I commented out the plugin they worked again. I am using that version of gradle so I can use the latest canary Android Studio which requires this.
Using 1.4.1 version of android-analyser.
Errors received:
I tried the recommended solutions multiple times to no avail.