nativescript-cli icon indicating copy to clipboard operation
nativescript-cli copied to clipboard

fix: android plugins now built using same “gradle” as apps

Open farfromrefug opened this issue 3 years ago • 0 comments

  • copy paste for now. I think most could be refactored in the runtime and cli should include from there
  • not kotlin, buildtools, … versions are define like in apps and use same defaults
  • we dont modify the build.gradle for tempPlugin anymore. Instead we add the plugin as a native dep (to itself..) and just ignore the aar that we would build (which can already be there).
  • now users can do almost anything they want in their plugin include.gradle and it will work (for example comments on the first line would break the build)
  • now while building a tempPlugin we pickup any external aar we find the plugin platforms folder (main reason for this change)

farfromrefug avatar Jun 23 '22 14:06 farfromrefug