Skip to content

Commit

Permalink
Legger til source sets.
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-santa committed Apr 12, 2024
1 parent fbd6854 commit 7539b86
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[![](https://jitpack.io/v/navikt/tms-ktor-token-support.svg)](https://jitpack.io/#navikt/tms-ktor-token-support)

# tms-ktor-token-support

## Henvendelser
Expand All @@ -9,3 +7,4 @@ Spørsmål knyttet til koden eller prosjektet kan rettes mot https://github.com/
## For NAV-ansatte

Interne henvendelser kan sendes via Slack i kanalen #team-personbruker.

7 changes: 7 additions & 0 deletions azure-exchange/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ publishing {
artifactId = "azure-exchange"
version = libraryVersion
from(components["java"])

val sourcesJar by tasks.creating(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets.main.get().allSource)
}

artifact(sourcesJar)
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions azure-validation-mock/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ publishing {
artifactId = "azure-validation-mock"
version = libraryVersion
from(components["java"])

val sourcesJar by tasks.creating(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets.main.get().allSource)
}

artifact(sourcesJar)
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions azure-validation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ publishing {
artifactId = "azure-validation"
version = libraryVersion
from(components["java"])

val sourcesJar by tasks.creating(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets.main.get().allSource)
}

artifact(sourcesJar)
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions idporten-sidecar-mock/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ publishing {
artifactId = "idporten-sidecar-mock"
version = libraryVersion
from(components["java"])

val sourcesJar by tasks.creating(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets.main.get().allSource)
}

artifact(sourcesJar)
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions idporten-sidecar/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ publishing {
artifactId = "idporten-sidecar"
version = libraryVersion
from(components["java"])

val sourcesJar by tasks.creating(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets.main.get().allSource)
}

artifact(sourcesJar)
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions tokendings-exchange/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ publishing {
artifactId = "tokendings-exchange"
version = libraryVersion
from(components["java"])

val sourcesJar by tasks.creating(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets.main.get().allSource)
}

artifact(sourcesJar)
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions tokenx-validation-mock/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ publishing {
artifactId = "tokenx-validation-mock"
version = libraryVersion
from(components["java"])

val sourcesJar by tasks.creating(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets.main.get().allSource)
}

artifact(sourcesJar)
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions tokenx-validation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ publishing {
artifactId = "tokenx-validation"
version = libraryVersion
from(components["java"])

val sourcesJar by tasks.creating(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets.main.get().allSource)
}

artifact(sourcesJar)
}
}
}
Expand Down

0 comments on commit 7539b86

Please sign in to comment.