-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
84 lines (71 loc) · 2.49 KB
/
build.gradle
File metadata and controls
84 lines (71 loc) · 2.49 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
import com.vanniktech.maven.publish.SonatypeHost
plugins {
id 'java'
id 'com.vanniktech.maven.publish' version '0.32.0'
id 'com.diffplug.spotless' version '6.12.0'
id 'com.github.ben-manes.versions' version '0.44.0'
}
group = 'com.formkiq'
version = '1.18.2'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenLocal()
mavenCentral()
}
spotless {
java {
eclipse().configFile project.rootProject.file("spotless.eclipseformat.xml")
}
}
dependencies {
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
implementation "software.amazon.awssdk:auth:2.20.120"
implementation "javax.ws.rs:javax.ws.rs-api:2.1.1"
implementation "com.squareup.okhttp3:okhttp:4.10.0"
implementation "com.squareup.okhttp3:logging-interceptor:4.10.0"
implementation "com.google.code.gson:gson:2.9.1"
implementation "io.gsonfire:gson-fire:1.8.5"
implementation "org.apache.commons:commons-lang3:3.12.0"
compileOnly "jakarta.annotation:jakarta.annotation-api:1.3.5"
implementation "org.openapitools:jackson-databind-nullable:0.2.6"
// test dependencies
testImplementation "org.junit.jupiter:junit-jupiter-engine:5.9.1"
testImplementation "org.junit.platform:junit-platform-runner:1.9.1"
testImplementation "org.mockito:mockito-core:3.12.4"
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
mavenPublishing {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
signAllPublications()
pom {
name = "FormKiQ Client"
description = "The Official Client library for FormKiQ"
inceptionYear = "2020"
url = "https://github.com/formkiq/formkiq-java-client"
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
distribution = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
developers {
developer {
id = 'mfriesen'
name = 'Mike Friesen'
}
}
scm {
url = 'https://github.com/formkiq/formkiq-java-client.git'
connection = 'scm:git:git://github.com/formkiq/formkiq-java-client.git'
developerConnection = 'scm:git:ssh://github.com/formkiq/formkiq-java-client.git'
}
}
}
compileJava.dependsOn(tasks.spotlessApply)
check.dependsOn(tasks.publishToMavenLocal)