-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
84 lines (73 loc) · 2.3 KB
/
Copy pathbuild.gradle
File metadata and controls
84 lines (73 loc) · 2.3 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
}
group = 'app.finwave.rct'
version = '1.1.0'
repositories {
mavenCentral()
}
dependencies {
api 'com.google.code.gson:gson:2.11.0'
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
test {
useJUnitPlatform()
}
java {
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
groupId = project.group
artifactId = 'rct'
version = project.version
pom {
name = 'ReactiveConfigsTool'
description = 'Java library what provides a reactive approach to working with configuration files'
url = 'https://github.com/FinWave-App/Reactive-Configs-Tool'
licenses {
license {
name = 'MIT license'
url = 'https://raw.githubusercontent.com/FinWave-App/Reactive-Configs-Tool/main/LICENSE'
}
}
developers {
developer {
id = 'knst'
name = 'isKONSTANTIN'
email = 'me@knst.su'
}
}
scm {
connection = 'scm:git:git://github.com/FinWave-App/Reactive-Configs-Tool.git'
developerConnection = 'scm:git:ssh://github.com:FinWave-App/Reactive-Configs-Tool.git'
url = 'https://github.com/FinWave-App/Reactive-Configs-Tool'
}
}
}
}
repositories {
maven {
name = "FinWaveNexus"
url = "https://nexus.finwave.app/repository/maven-public"
credentials {
username = System.getenv("NEXUS_DEPLOY_USERNAME")
password = System.getenv("NEXUS_DEPLOY_PASSWORD")
}
}
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/finwave-app/reactive-configs-tool"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}