Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Prepare project for debugging with Aztec libraries in-place #10

@mzorz

Description

@mzorz

To make it easier to work with, we need a way to compile the project with a local Aztec repository, as it was referenced to in this commit a2fcea9

After the changes made to the project for library re-structuring, we're back with the remote-repo urls, and we need to be able to bring then local repos back (for the meantime at least).

As far as per our tests went, we could see that it was not enough to add the settings.gradle file to the main android folder with this content:

include  ':aztec', ':glide-loader', ':picasso-loader', ':wordpress-comments', ':wordpress-shortcodes'

project(':aztec').projectDir = file("../../AztecEditor-Android/aztec")
project(':glide-loader').projectDir = file("../../AztecEditor-Android/glide-loader")
project(':wordpress-comments').projectDir = file("../../AztecEditor-Android/wordpress-comments")
project(':wordpress-shortcodes').projectDir = file("../../AztecEditor-Android/wordpress-shortcodes")

and changing build.gradle to this:

  api project (':aztec')
    api project (':glide-loader')
    api project (':wordpress-shortcodes')
    api project (':wordpress-comments')

We kept getting this error:

Project with path ':aztec' could not be found in project ':react-native-aztec'. Open File.

FWIW, It seems that the settings.gradle file is not even loaded. Decided with @daniloercoli to open an issue to track it better as we've spent some time trying to make it work already. Will need to investigate further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions