forked from Tinkoff/neptune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (57 loc) · 2.22 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
dependencies {
implementation group: 'io.swagger.codegen.v3', name: 'swagger-codegen', version: '3.0.27'
implementation group: 'io.swagger.codegen.v3', name: 'swagger-codegen-generators', version: '1.0.27'
}
java {
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'neptune.swagger.codegen'
from components.java
repositories {
maven {
credentials(PasswordCredentials)
url = 'https://nexus-new.tcsbank.ru/repository/mvn-bigops-qa'
}
}
pom {
packaging = 'jar'
name = 'neptune.swagger.codegen'
version = version
url = 'https://github.com/TinkoffCreditSystems/neptune'
licenses {
license {
name = 'Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution = 'repo'
}
}
developers {
developer {
id = 'TikhomirovSergey'
name = 'Sergey Tikhomirov'
email = 'tichomirovsergey@gmail.com'
}
}
scm {
connection = 'scm:git:ssh://git@github.com:TinkoffCreditSystems/neptune.git'
developerConnection = 'scm:git:ssh://git@github.com:TinkoffCreditSystems/neptune.git'
url = 'https://github.com/TinkoffCreditSystems/neptune'
}
}
}
}
}
javadoc {
destinationDir = file("${buildDir}/../../../neptune.documentation/javadocs/$project.name")
title = "Neptune Swagger integration 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 © 2021 <a href=\"https://www.tinkoff.ru/software/\">Tinkoff.ru Development</a>."
options.addBooleanOption('html5', true)
}