AppComponent Dependency on Gradle and CUBA Studio

Hi Guys,

I’d like to ask for help on app component dependency at CUBA Studio.

My Structure

Base app (Install as app component, version 0.1-SNAPSHOT then upload into nexus)
Product app ( include base app at build.gradle

dependencies {

Base app - build and upload into nexus, updated version
Product app - for some reasons, product app refers to old version.

What I need to do is manually delete the cache at %user%/.gradle/caches and let the CUBA studio re-import again.

Is it a bug in CUBA Studio?


Snaphshot dependencies in Gradle by default are cached, they won’t be requested at every project build.

You can reduce caching time to just one minute by adding some settings to build.gradle:

1 Like

Alright Thanks. Alex