Skip to content

Build fails with non-default project directory #42

Description

@MichaelElmore1

When using a different directory, build fails with the reason "The 'java' plugin has been applied, but it is not compatible with the Android plugins." This is likely due to this line: https://github.com/opensensorhub/osh-android/blob/master/build.gradle#L27

Steps to reproduce:
Clone osh-android as osh-android-test
Change to v2 branch
Run git submodule update --init --recursive if necessary
Load Gradle changes

Theoretically, it is an easy fix, but I don't know the Gradle syntax for getting the app root directory programmatically.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions