Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit 521afd6

Browse files
Merge pull request #87 from FrogDevelopment/fix/build
fix(jitpack): build script
2 parents 85611e6 + 9623bde commit 521afd6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=FrogDevelopment_authorization-jwt-module&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=FrogDevelopment_authorization-jwt-module)
44
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=FrogDevelopment_authorization-jwt-module&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=FrogDevelopment_authorization-jwt-module)
55
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=FrogDevelopment_authorization-jwt-module&metric=coverage)](https://sonarcloud.io/dashboard?id=FrogDevelopment_authorization-jwt-module)
6-
6+
[![Release](https://jitpack.io/v/com.frog-development/authorization-jwt-module.svg)](https://jitpack.io/#com.frog-development/authorization-jwt-module)
77

88
### How to use the authorization-jwt-module on your project
99
##### Add the dependency
1010
```groovy
1111
dependencies {
12-
implementation 'com.frog-development:authorization-jwt-module:1.3.0-SNAPSHOT'
12+
implementation 'com.frog-development:authorization-jwt-module:1.4.1-SNAPSHOT'
1313
}
1414
```
1515
##### Step 3. Use the Authorization Jwt module

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ plugins {
44
`maven-publish`
55
id ("org.sonarqube") version "3.3"
66
id("io.freefair.lombok") version "6.2.0"
7+
id ("fr.brouillard.oss.gradle.jgitver") version "0.9.1"
78
}
89

910
group = "com.frog-development"
@@ -111,3 +112,9 @@ tasks.wrapper {
111112
gradleVersion = "7.2"
112113
distributionType = Wrapper.DistributionType.ALL
113114
}
115+
116+
jgitver {
117+
strategy("PATTERN")
118+
versionPattern("\${v}-SNAPSHOT")
119+
tagVersionPattern("\${v}")
120+
}

0 commit comments

Comments
 (0)