forked from Tinkoff/neptune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
70 lines (60 loc) · 2.29 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
dependencies {
compile group: 'io.swagger.codegen.v3', name: 'swagger-codegen', version: '3.0.23'
compile group: 'io.swagger.codegen.v3', name: 'swagger-codegen-generators', version: '3.0.23'
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives jar, javadocJar, sourcesJar
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: 'https://nexus-new.tcsbank.ru/repository/mvn-bigops-qa') {
authentication(userName: mavenDeployLogin, password: mavenDeployPassword)
}
pom.project {
packaging 'jar'
name 'neptune.swagger.codegen'
version version
url 'https://github.com/TinkoffCreditSystems/neptune'
developers {
developer {
name 'Sergey Tikhomirov'
email 'tichomirovsergey@gmail.com'
url 'https://github.com/TikhomirovSergey'
id 'TikhomirovSergey'
}
}
licenses {
license {
name 'Apache License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
scm {
url 'https://github.com/TinkoffCreditSystems/neptune'
connection 'scm:git:ssh://git@github.com:TinkoffCreditSystems/neptune.git'
developerConnection 'scm:git:ssh://git@github.com:TinkoffCreditSystems/neptune.git'
tag 'HEAD'
}
}
}
}
}
javadoc {
destinationDir = file("${buildDir}/../../../neptune.documentation/javadocs/$project.name")
title = "Neptune Check API. v$globalVersion"
options.author true
options.links 'http://download.oracle.com/javase/9/docs/api/'
options.addStringOption 'Xdoclint:none', '-quiet'
options.memberLevel = JavadocMemberLevel.PROTECTED
options.bottom = "Copyright © 2020 <a href=\"https://www.tinkoff.ru/software/\">Tinkoff.ru Development</a>."
}