-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
103 lines (89 loc) · 2.64 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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
plugins {
id "io.micronaut.library" version "4.4.0"
id "maven-publish"
id "org.jreleaser" version "1.12.0"
}
version = "1.0.0"
group = "io.github.aprietop"
repositories {
mavenCentral()
}
dependencies {
implementation("org.jasypt:jasypt:1.9.3")
testImplementation("io.micronaut.test:micronaut-test-junit5")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
micronaut {
testRuntime("junit5")
processing {
incremental(true)
annotations("io.github.aprietop.*")
}
}
java {
sourceCompatibility = JavaVersion.toVersion("17")
targetCompatibility = JavaVersion.toVersion("17")
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'io.github.aprietop'
artifactId = 'jasypt-micronaut'
from components.java
pom {
name = 'jasypt-micronaut'
description = 'Jasypt application properties for Micronaut'
url = 'https://github.com/aprietop/jasypt-micronaut'
inceptionYear = '2024'
licenses {
license {
name = 'Apache-2.0'
url = 'https://spdx.org/licenses/Apache-2.0.html'
}
}
developers {
developer {
id = 'aprietop'
name = 'Armando Prieto'
}
}
scm {
connection = 'scm:git:https://github.com/aprietop/jasypt-micronaut.git'
developerConnection = 'scm:git:ssh://github.com/aprietop/jasypt-micronaut.git'
url = 'https://github.com/aprietop/jasypt-micronaut'
}
}
}
}
repositories {
maven {
url = layout.buildDirectory.dir('staging-deploy')
}
}
}
jreleaser {
signing {
active = 'ALWAYS'
armored = true
}
project {
description = 'Jasypt application properties for Micronaut'
copyright = 'Copyright 2024 original authors'
}
deploy {
maven {
nexus2 {
'maven-central' {
active = 'ALWAYS'
url = 'https://s01.oss.sonatype.org/service/local'
snapshotUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
closeRepository = false
releaseRepository = false
stagingRepository('build/staging-deploy')
}
}
}
}
}