Skip to content

Commit cd1d71a

Browse files
authored
switched to marketplace in README (#1)
corrected wrong coordinates (see #8)
1 parent 87a2cba commit cd1d71a

1 file changed

Lines changed: 9 additions & 22 deletions

File tree

README.md

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,7 @@ CUBA component that allows to write generic features for a Controller and use th
99

1010
## Installation
1111

12-
1. Add the following maven repository `https://dl.bintray.com/balvi/cuba-components` to the build.gradle of your CUBA application:
13-
14-
15-
buildscript {
16-
17-
//...
18-
19-
repositories {
20-
21-
// ...
22-
23-
maven {
24-
url "https://dl.bintray.com/balvi/cuba-components"
25-
}
26-
}
27-
28-
// ...
29-
}
30-
31-
12+
1. `declarative-controllers` is available in the [CUBA marketplace](https://www.cuba-platform.com/marketplace)
3213
2. Select a version of the add-on which is compatible with the platform version used in your project:
3314

3415
| Platform Version | Add-on Version |
@@ -44,9 +25,15 @@ The latest version is: [ ![Download](https://api.bintray.com/packages/balvi/cub
4425
Add custom application component to your project:
4526

4627
* Artifact group: `de.balvi.cuba.declarativecontrollers`
47-
* Artifact name: `declarative-controllers-global`
28+
* Artifact name: `declarativecontrollers-global`
4829
* Version: *add-on version*
4930

31+
```groovy
32+
dependencies {
33+
appComponent("de.balvi.cuba.declarativecontrollers:declarativecontrollers-global:*addon-version*")
34+
}
35+
```
36+
5037
### Motivation & Example usage: Comments feature
5138

5239
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.
198185
With this you have a single place where you can put your UI logic that is accessible for different screens.
199186
200187
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,
201-
so that you have a UI where you have a couple of checkboxes enable all of your generic features.
188+
so that you have a UI where you have a couple of checkboxes enable all of your generic features.

0 commit comments

Comments
 (0)