-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (47 loc) · 1.52 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
plugins {
id 'maven-publish'
id 'distribution'
}
group = 'de.nrw.schule.svws'
version = '1.0.14'
publishing {
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/SVWS-NRW/Schild-NRW-Keytabs"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
publications {
mavenZip(MavenPublication) {
artifact 'build/files.zip'
artifactId = 'svws-schild-nrw-keytabs'
pom {
name = 'SVWS Schild3 Vorlagen'
description = 'Diese Bibliothek stellt das ZIP-Archiv für die Schild-NRW-Keytabs zur Verfügung.'
url = 'http://www.svws.nrw.de'
licenses {
license {
name = 'OpenData by IT.NRW'
url = 'https://www.it.nrw.de/'
}
}
scm {
connection = 'scm:git@github.com/SVWS-NRW/Schild-NRW-Keytabs'
developerConnection = 'scm:git@github.com/SVWS-NRW/Schild-NRW-Keytabs.git'
url = 'https://github.com/SVWS-NRW/Schild-NRW-Keytabs.git'
}
}
}
}
}
task doZip(type: Zip) {
archiveFileName = "files.zip"
destinationDirectory = file("$buildDir")
from "$projectDir/files"
}
assemble.dependsOn doZip
generatePomFileForMavenZipPublication.dependsOn build