-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
95 lines (78 loc) · 3.66 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
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.72"
id "org.springframework.boot" version "2.3.3.RELEASE"
id "com.jfrog.bintray" version "1.8.5"
id "org.jlleitschuh.gradle.ktlint" version "9.3.0"
id "maven-publish"
}
repositories {
jcenter()
maven {
url = "https://dl.bintray.com/jhonnold/maven"
}
}
dependencies {
implementation group: "org.jetbrains.kotlin", name: "kotlin-stdlib-jdk8"
implementation group: "org.jetbrains.kotlin", name: "kotlin-reflect"
implementation group: "org.springframework.boot", name: "spring-boot-starter-webflux", version: "2.3.3.RELEASE"
implementation group: "org.springframework.boot", name: "spring-boot-starter-security", version: "2.3.3.RELEASE"
implementation group: "org.springframework.boot", name: "spring-boot-starter-data-r2dbc", version: "2.3.3.RELEASE"
annotationProcessor group: "org.springframework.boot", name: "spring-boot-configuration-processor", version: "2.3.3.RELEASE"
developmentOnly group: "org.springframework.boot", name: "spring-boot-devtools", version: "2.3.3.RELEASE"
implementation group: "org.flywaydb", name: "flyway-core", version: "6.5.2"
implementation group: "io.r2dbc", name: "r2dbc-postgresql", version: "0.8.4.RELEASE"
runtimeOnly group: "org.postgresql", name: "postgresql", version: "42.2.14"
implementation group: "software.amazon.awssdk", name: "s3", version: "2.13.71"
implementation group: "software.amazon.awssdk", name: "netty-nio-client", version: "2.13.71"
implementation group: "io.jsonwebtoken", name: "jjwt-api", version: "0.11.2"
runtimeOnly group: "io.jsonwebtoken", name: "jjwt-impl", version: "0.11.2"
runtimeOnly group: "io.jsonwebtoken", name: "jjwt-jackson", version: "0.11.2"
implementation group: "io.projectreactor.kotlin", name: "reactor-kotlin-extensions", version: "1.0.2.RELEASE"
implementation group: "org.apache.commons", name: "commons-text", version: "1.8"
implementation group: "org.apache.commons", name: "commons-compress", version: "1.20"
implementation group: "com.github.slugify", name: "slugify", version: "2.4"
implementation group: "com.googlecode.json-simple", name: "json-simple", version: "1.1.1"
testImplementation group: "org.jetbrains.kotlin", name: "kotlin-test"
testImplementation group: "org.jetbrains.kotlin", name: "kotlin-test-junit"
testImplementation group: "org.hamcrest", name: "hamcrest", version: "2.2"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
group "me.honnold"
version "0.1.0"
configurations {
[apiElements, runtimeElements].each {
it.outgoing.artifacts.removeIf { it.buildDependencies.getDependencies(null).contains(jar) }
it.outgoing.artifact(bootJar)
}
}
publishing {
publications {
ladderhero(MavenPublication) {
from components.java
}
}
repositories {
maven {
name = "GithubPackages"
url = "https://maven.pkg.github.com/jhonnold/ladder-hero"
credentials {
username = project.hasProperty("github.user") ? project.property("github.user") : System.getenv("GITHUB_USER")
password = project.hasProperty("github.key") ? project.property("github.key") : System.getenv("GITHUB_KEY")
}
}
}
}
bintray {
user = project.hasProperty("bintray.user") ? project.property("bintray.user") : System.getenv("BINTRAY_USER")
key = project.hasProperty("bintray.key") ? project.property("bintray.key") : System.getenv("BINTRAY_KEY")
publications = ["ladderhero"]
pkg {
repo = "maven"
name = "ladder-hero"
}
}