-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
108 lines (94 loc) · 3.3 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
104
105
106
107
108
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
}
}
allprojects {
group = groupId
version = packageVersion
}
subprojects {
apply plugin: "java"
sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
}
task javadocJar(type: Jar) {
archiveClassifier = 'javadoc'
from javadoc
}
task sourcesJar(type: Jar) {
archiveClassifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives javadocJar, sourcesJar
}
}
project(":commons-dao") {
apply plugin: "maven-publish"
apply plugin: "signing"
publishing {
publications {
mavenJava(MavenPublication) {
signing {
sign publishing.publications.mavenJava
}
artifact jar
artifact tasks.javadocJar
artifact tasks.sourcesJar
repositories {
maven {
name = "Ossrh"
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials() {
username = ossrhUsername
password = ossrhPassword
}
}
}
pom {
name = 'Commons-Dao'
packaging 'jar'
description = 'Commons-Dao used for make easy implementation of spring data jpa.'
url = 'https://www.smartsensesolutions.com/'
organization {
name = 'smartsensesolutions.com'
url = 'https://www.smartsensesolutions.com/'
}
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'dilip.dhankecha'
name = 'Dilip Dhankecha'
email = '[email protected]'
}
developer {
id = 'nitin.vavdiya'
name = 'Nitin Vavdiya'
email = '[email protected]'
}
developer{
id='sunil.kanzar'
name = 'Sunil Kanzar'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:git://github.com/smartSenseSolutions/smartsense-java-commons.git'
developerConnection = 'scm:git:ssh://github.com/smartSenseSolutions/smartsense-java-commons.git'
url = 'https://github.com/smartSenseSolutions/smartsense-java-commons/'
}
}
}
}
}
}