-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (53 loc) · 1.75 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
plugins {
id 'idea'
id 'maven-publish'
id "com.github.ethankhall.semantic-versioning" version "1.1.0"
id "com.github.hierynomus.license" version "0.12.1"
}
project.version.with {
major = textIoChartDemoVersionMajor as int
minor= textIoChartDemoVersionMinor as int
patch = textIoChartDemoVersionPatch as int
if (project.hasProperty('textIoChartDemoVersionLabel')) {
preRelease = textIoChartDemoVersionLabel
}
releaseBuild = Boolean.valueOf(textIoChartDemoReleaseBuild)
}
ext.textIoChartDemoVersion = project.version as String
repositories {
jcenter()
mavenCentral()
maven { url 'https://github.com/indvd00m/maven-repo/raw/master/repository' }
}
apply plugin: 'application'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'com.github.hierynomus.license'
sourceCompatibility = 1.8
group = 'org.beryx.textio.chart'
version = textIoChartDemoVersion
def defaultEncoding = 'UTF-8'
[compileJava, compileTestJava]*.options*.encoding = defaultEncoding
license {
header rootProject.file("license-header.txt")
skipExistingHeaders true
ignoreFailures false
}
dependencies {
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.21'
compile 'org.beryx:text-io:2.8.0'
compile 'com.indvd00m.ascii.render:ascii-render:1.2.1'
compile 'org.jfree:jfreechart:1.5.0'
runtime ('ch.qos.logback:logback-classic:1.1.7')
testCompile 'junit:junit:4.12'
testCompile('ch.qos.logback:logback-classic:1.1.7')
}
jar {
manifest {
attributes 'Implementation-Title': "text-io-chart-demo",
'Main-Class': 'org.beryx.textio.chart.TextIoAsciiChart',
'Implementation-Version': textIoChartDemoVersion
}
}
mainClassName = 'org.beryx.textio.chart.TextIoAsciiChart'