forked from java-diff-utils/java-diff-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
42 lines (34 loc) · 827 Bytes
/
build.gradle.kts
File metadata and controls
42 lines (34 loc) · 827 Bytes
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
plugins {
java
`maven-publish`
}
repositories {
mavenLocal()
maven("http://repo.maven.apache.org/maven2")
}
dependencies {
compile("org.eclipse.jgit:org.eclipse.jgit:4.4.1.201607150455-r")
testImplementation("junit:junit:4.12")
testImplementation("org.assertj:assertj-core:3.11.1")
}
group = "io.github.java-diff-utils"
description = "java-diff-utils"
version = "4.1-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
val javadocJar by tasks.registering(Jar::class) {
classifier = "javadoc"
from(destinationDir)
}
publishing {
publications {
register("mavenJava", MavenPublication::class.java) {
from(components["java"])
artifact(javadocJar.get())
}
}
}