diff --git a/README.md b/README.md index c20b5ee..78f2b30 100644 --- a/README.md +++ b/README.md @@ -9,26 +9,7 @@ CUBA component that allows to write generic features for a Controller and use th ## Installation -1. Add the following maven repository `https://dl.bintray.com/balvi/cuba-components` to the build.gradle of your CUBA application: - - - buildscript { - - //... - - repositories { - - // ... - - maven { - url "https://dl.bintray.com/balvi/cuba-components" - } - } - - // ... - } - - +1. `declarative-controllers` is available in the [CUBA marketplace](https://www.cuba-platform.com/marketplace) 2. Select a version of the add-on which is compatible with the platform version used in your project: | Platform Version | Add-on Version | @@ -44,9 +25,15 @@ The latest version is: [ ![Download](https://api.bintray.com/packages/balvi/cub Add custom application component to your project: * Artifact group: `de.balvi.cuba.declarativecontrollers` -* Artifact name: `declarative-controllers-global` +* Artifact name: `declarativecontrollers-global` * Version: *add-on version* +```groovy +dependencies { + appComponent("de.balvi.cuba.declarativecontrollers:declarativecontrollers-global:*addon-version*") +} +``` + ### Motivation & Example usage: Comments feature So what does that mean? Here's an example [balvi/cuba-example-declarative-comments](https://github.com/balvi/cuba-example-declarative-comments): @@ -198,4 +185,4 @@ That's it. With this you have a single place where you can put your UI logic that is accessible for different screens. You can easily take this and create [CUBA studio templates](https://www.cuba-platform.com/blog/whats-new-in-cuba-platform-6-4#studio-templates) that will add your Annotations to your screens, -so that you have a UI where you have a couple of checkboxes enable all of your generic features. \ No newline at end of file +so that you have a UI where you have a couple of checkboxes enable all of your generic features.