forked from jclawson/jackson-dataformat-hocon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
58 lines (49 loc) · 1.44 KB
/
build.gradle.kts
File metadata and controls
58 lines (49 loc) · 1.44 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
plugins {
`java-library`
`maven-publish`
id("com.jfrog.artifactory") version "5.+"
}
repositories {
mavenLocal()
maven(url = "https://artifacts.wolfyscript.com/artifactory/gradle-dev")
maven(url = "https://repo.maven.apache.org/maven2/")
}
dependencies {
api(libs.com.fasterxml.jackson.core.jackson.annotations)
api(libs.com.fasterxml.jackson.core.jackson.core)
api(libs.com.fasterxml.jackson.core.jackson.databind)
api(libs.com.typesafe.config)
testImplementation(libs.junit.junit)
}
group = "com.wolfyscript"
version = "2.1-SNAPSHOT"
description = "HOCON support for Jackson"
java.sourceCompatibility = JavaVersion.VERSION_1_8
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
artifact(file("$rootDir/gradle.properties"))
}
}
tasks.withType<JavaCompile>() {
options.encoding = "UTF-8"
}
tasks.withType<Javadoc>() {
options.encoding = "UTF-8"
}
artifactory {
publish {
contextUrl = "https://artifacts.wolfyscript.com/artifactory"
repository {
repoKey = "gradle-dev-local"
username = project.properties["wolfyRepoPublishUsername"].toString()
password = project.properties["wolfyRepoPublishToken"].toString()
}
defaults {
publications("maven")
setPublishArtifacts(true)
setPublishPom(true)
isPublishBuildInfo = false
}
}
}