Skip to content

Commit e615424

Browse files
committed
#1: Improve "Usage" section
1 parent 9eb9db7 commit e615424

1 file changed

Lines changed: 17 additions & 12 deletions

File tree

README.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,40 @@
1212

1313
## Usage
1414

15+
### Gradle
16+
1517
<details open>
16-
<summary><code>build.gradle.kts</code></summary>
18+
<summary>Kotlin DSL</summary>
1719

1820
```kotlin
19-
repositories {
20-
mavenCentral()
21-
}
22-
2321
dependencies {
24-
compileOnly(group = "pl.tlinkowski.annotation", name = "basic-annotations", version = "0.1.0")
22+
compileOnly(group = "pl.tlinkowski.annotation", name = "basic-annotations", version = "x.y.z")
2523
}
2624
```
2725

2826
</details>
2927
<details>
30-
<summary><code>build.gradle</code></summary>
28+
<summary>Groovy DSL</summary>
3129

3230
```groovy
33-
repositories {
34-
mavenCentral()
35-
}
36-
3731
dependencies {
38-
compileOnly group: 'pl.tlinkowski.annotation', name: 'basic-annotations', version: '0.1.0'
32+
compileOnly group: 'pl.tlinkowski.annotation', name: 'basic-annotations', version: 'x.y.z'
3933
}
4034
```
4135

4236
</details>
4337

38+
### Maven
39+
40+
```xml
41+
<dependency>
42+
<groupId>pl.tlinkowski.annotation</groupId>
43+
<artifactId>basic-annotations</artifactId>
44+
<version>x.y.z</version>
45+
<scope>provided</scope>
46+
</dependency>
47+
```
48+
4449
## Purpose
4550

4651
The purpose of this library is to provide a couple of basic annotations related to the following concepts:

0 commit comments

Comments
 (0)