-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
109 lines (100 loc) · 2.96 KB
/
build.gradle
File metadata and controls
109 lines (100 loc) · 2.96 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
plugins {
id 'java-library'
id 'groovy'
id 'maven-publish'
id 'org.jreleaser' version '1.23.0'
}
apply plugin: 'groovy'
group = 'io.github.unstatik.growthlib.lazy'
version = '1.1.0'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
withSourcesJar()
withJavadocJar()
}
repositories {
mavenCentral()
}
publishing {
repositories {
maven { url = layout.buildDirectory.dir('staging-deploy') }
}
publications {
maven(MavenPublication) {
artifactId = 'lazy-growthLib'
from components.java
pom {
name = 'LazyGrowthLib'
description = 'Embeddable rule library for JVM'
url = 'https://github.com/unStatiK/LazyGrowthLib'
inceptionYear = '2026'
developers {
developer {
id = 'unStatiK'
name = 'Steven Vch.'
}
}
licenses {
license {
name = 'MIT License'
url = 'https://opensource.org/licenses/MIT'
}
}
scm {
connection = 'scm:git:git://github.com/unStatiK/LazyGrowthLib.git'
developerConnection = 'scm:git:ssh:[email protected]/unStatiK/LazyGrowthLib.git'
url = 'https://github.com/unStatiK/LazyGrowthLib'
}
properties = [
'keywords': 'groovy jvm rules-engine',
'tags' : 'groovy jvm rules-engine'
]
}
}
}
}
jreleaser {
project {
inceptionYear = '2026'
author('Steven Vch.')
description = 'Embeddable rule library for JVM'
longDescription = 'Embeddable rule library for JVM'
}
release {
github {
skipRelease = true
skipTag = true
}
}
signing {
active = 'ALWAYS'
armored = true
verify = true
}
deploy {
maven {
mavenCentral.create('sonatype') {
active = 'ALWAYS'
url = 'https://central.sonatype.com/api/v1/publisher'
stagingRepository(layout.buildDirectory.dir('staging-deploy').get().toString())
username = System.getenv("JRELEASER_MAVENCENTRAL_USERNAME")
password = System.getenv("JRELEASER_MAVENCENTRAL_PASSWORD")
connectTimeout = 300000
readTimeout = 300000
retryDelay = 120
sign = true
checksums = true
sourceJar = true
javadocJar = true
}
}
}
}
dependencies {
implementation 'org.apache.groovy:groovy-all:4.0.31'
testImplementation 'org.spockframework:spock-core:2.4-groovy-4.0'
}
test {
useJUnitPlatform()
}