Skip to content

Plugin does not work in AS 2.3 #8

@bjansen

Description

@bjansen

Apparently, Android Studio 2.3 introduced something named "build cache" that does not create the
exploded-aars directory anymore:

ceylon import-jar: Jar file
/Users/bastien/Dev/tmp/MyApplication/app/build/intermediates/exploded-aar/com.
android.support/support-compat/24.2.1/jars/classes.jar does not exist

The workaround is to add this property in gradle.properties:

android.enableBuildCache=false

But then I get another error that I don't know how to fix:

* What went wrong:
Execution failed for task ':app:compileDebugCeylonWithCeylonc'.
> No such property: jarDependencies for class: com.android.build.gradle.internal.dependency.DependencyContainerImpl
  Possible solutions: allDependencies

Environment: AS 2.3, Gradle 3.3, create a simple project with a blank activity, then configure Ceylon in this project and build it.

Works fine with Gradle 2.2.

See also robolectric/robolectric#2948 and http://tools.android.com/tech-docs/build-cache

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions