Skip to content
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

Android Gradle Plugin 3.5 breaks configuration #162

Closed
mattinger opened this issue Sep 16, 2019 · 4 comments · Fixed by #166
Closed

Android Gradle Plugin 3.5 breaks configuration #162

mattinger opened this issue Sep 16, 2019 · 4 comments · Fixed by #166

Comments

@mattinger
Copy link

Due to apparent change in the the location of where compiled classes go, this plugin no longer works with android plugin version 3.5.

Classes now appear in intermediates/javac/debug/classes

@vanniktech
Copy link
Owner

Want to submit a PR to fix this?

@yaizudamashii
Copy link

It seems that you fixed the problem @mattinger mentioned in the snapshot. Thank you.
I found another issue with android plugin version 3.5 with gradle 5.4.

"**/intermediates/javac/${sourceName}/*/classes/**" // Android Gradle Plugin 3.2.x support.

seems to produce no files to refer to. It was necessary for me to use

"**/intermediates/javac/${buildFlavor}/classes/**",

@eugenio1590
Copy link

I suppose that broke the junitJacoco extension. Any progress on this?

@damiancioo
Copy link

damiancioo commented Nov 2, 2019

I have 0.15 plugin version with build.gradle.kts

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath(LibraryDependency.JACOCO_PLUGIN)
    }
}
apply {
    plugin(GradlePluginId.JACOCO_PLUGIN)
}

After that Android Studio doesn't seems to allow to configure 'junitJacoco'.
Is this related to this or kts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants