-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
45 lines (34 loc) · 814 Bytes
/
build.gradle
File metadata and controls
45 lines (34 loc) · 814 Bytes
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
plugins {
id 'java-library'
id 'maven-publish'
}
sourceCompatibility = '1.8'
group 'github.koossa'
version mavenPubVersion
repositories {
mavenCentral()
}
dependencies {
}
java {
withSourcesJar()
withJavadocJar()
}
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/KoosSA/MavenRepos")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("GIT_USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("GIT_TOKEN")
}
}
}
publications {
gpr(MavenPublication) {
artifactId = 'filesystem'
from(components.java)
}
}
}