Skip to content

Commit 0810273

Browse files
committed
docs: basic description for using the plugin
1 parent 71de840 commit 0810273

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,31 @@
1-
# vanio-gradle
2-
Gradle convention plugins
1+
# Vanio Gradle Plugins
2+
Gradle convention plugin collection.
3+
4+
## List of Plugins
5+
* common
6+
* testReport
7+
8+
## Usage
9+
Configure the plugin repository in ```settings.gradle.kts```
10+
```kotlin
11+
pluginManagement {
12+
repositories {
13+
maven {
14+
name = "GitHubPackages"
15+
url = uri("https://maven.pkg.github.com/vanioinformatika/maven-releases")
16+
credentials {
17+
username = System.getenv("GPR_USERNAME")
18+
password = System.getenv("GPR_TOKEN")
19+
}
20+
}
21+
}
22+
}
23+
```
24+
Add the necessary plugin (or plugins) to the ```plugins``` block in the ```build.gradle.kts```
25+
```kotlin
26+
plugins {
27+
id("hu.vanio.gradle.common") version "0.0.1"
28+
id("hu.vanio.gradle.testReport") version "0.0.1"
29+
}
30+
31+
```

0 commit comments

Comments
 (0)