Android: How to add a gradle repository


#1

I’m only aware of android_add_gradle_dependency to a dependency as described here: https://trigger.io/docs/current/api/native_modules/native_build_steps.html

android_add_gradle_repository seems not to exist… :-/


🚨 Android app freezes on start
#2

As a workaround, I tried to add the dependency as jar in module/android/libs, but it doesn’t show up after TriggerToolkit refresh.


#3

I’m also missing a way to add JUnit as test dependency to a module.


#4

With Gradle 4 at least there doesn’t seem to be any way to add repositories at runtime. Will be revisiting the quest for Forge 2.8 and Gradle 5 but I’m not holding my breath.


#5

Sad, but not critical anymore for me.