-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
93 lines (72 loc) · 2.11 KB
/
build.gradle
File metadata and controls
93 lines (72 loc) · 2.11 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
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
id 'signing'
alias(libs.plugins.shadow)
id 'tech.yanand.maven-central-publish' version '1.2.0'
}
group = 'ru.swat1x'
version = '2.1'
java {
targetCompatibility = sourceCompatibility = JavaVersion.VERSION_1_8
withSourcesJar()
withJavadocJar()
}
repositories {
mavenCentral()
}
dependencies {
compileOnlyApi libs.lombok
annotationProcessor libs.lombok
compileOnlyApi libs.jetbrains.annotations
compileOnlyApi libs.logger.slf4j.api
compileOnlyApi libs.logger.log4j.api
api libs.database.sql.hikaricp
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
pom {
groupId = project.group
artifactId = project.name
version = project.version
description = "Library for connection with SQL databases"
url = "https://github.com/swat1x/database-sql"
developers {
developer {
name = "Vadim Smyshlyaev"
email = "swat1x@internet.ru"
}
}
licenses {
license {
name = "The Apache Software License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
scm {
connection = "scm:git:git://github.com/swat1x/database-sql.git"
developerConnection = "scm:git:ssh://github.com:swat1x/database-sql.git"
url = "http://github.com/swat1x/database-sql/tree/master"
}
}
}
}
repositories {
maven {
name = "Local"
url = layout.buildDirectory.dir('repos/bundles')
}
}
}
signing {
sign publishing.publications.mavenJava
}
mavenCentral {
repoDir = layout.buildDirectory.dir('repos/bundles')
authToken = findProperty("ossrhToken")
publishingType = 'AUTOMATIC'
maxWait = 60
}