-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle
More file actions
48 lines (39 loc) · 810 Bytes
/
build.gradle
File metadata and controls
48 lines (39 loc) · 810 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
43
44
45
46
47
48
plugins {
id 'io.codearte.nexus-staging' version '0.11.0'
}
allprojects {
apply plugin: 'maven'
group = 'com.github.vlsi.mxgraph'
version = '4.2.2'
}
subprojects {
apply plugin: 'java'
sourceCompatibility = 1.7
targetCompatibility = 1.7
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenLocal()
maven { url "http://repo.maven.apache.org/maven2" }
}
task sourcesJar(type: Jar) {
classifier 'sources'
from sourceSets.main.allJava
extension 'jar'
}
task javadocJar(type: Jar) {
classifier 'javadoc'
from javadoc
}
artifacts {
archives javadocJar, sourcesJar
}
javadoc {
failOnError = false
title = "jgraphx ${project.version}"
options {
header "jgraphx ${project.version}"
}
}
}