Skip to content

Build fails with non-default project directory #42

@MichaelElmore1

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.

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