wttech/gradle-aem-plugin

Launcher handling Maven project in subdir (separate VCS repo)

krystian-panek-vmltech opened this issue · 2 comments

imagine running launcher at some ~/dir and the Maven project is located at ~/dir/maven.
then GAP launcher should generate all the stuff but taking also care about

  1. appending to .gitignore /maven
  2. setting approriate task path in env/build.gradle.kts / instanceSetup. {dependsOn() }
  3. providing post-clone git init script that will also clone the subrepo (maybe there is some git hook for that?)

When running launcher from Maven dir gap should go one dir up, rename source dir to 'maven', rename current dir to origin maven's dir name (if it is possible and such dir does not already exist), then the rest as currenty