-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathbuild.gradle
39 lines (32 loc) · 975 Bytes
/
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
apply plugin: 'java'
apply plugin: "maven-publish"
apply plugin: "maven"
apply plugin: "signing"
group 'com.github.sh0nk'
version '0.5.1-SNAPSHOT'
archivesBaseName = "matplotlib4j"
description = "Matplotlib for java: A simple graph plot library for java with powerful python matplotlib"
sourceCompatibility = 1.8
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.google.guava', name: 'guava', version: '15.0'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.7'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.7'
compile group: 'log4j', name: 'log4j', version: '1.2.17'
testCompile group: 'junit', name: 'junit', version: '4.12'
}