-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
47 lines (38 loc) · 1.22 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
/*
Created by Davood Mazinanian 21 Nov 2015
*/
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
sourceCompatibility = 1.8
targetCompatibility = 1.8
mainClassName = 'ca.concordia.cssanalyser.app.CSSAnalyserCLI'
repositories {
mavenCentral()
}
dependencies {
compile "org.choco-solver:choco-solver:${choco_solver_version}"
compile "com.crawljax:crawljax-core:${crawljax_version}"
compile "com.crawljax.plugins:crawloverview-plugin:${crawljax_crawloverview_plugin_version}"
compile "com.github.sommeri:less4j:${less4j_version}"
compile "org.w3c.css:sac:${sac_version}"
compile "args4j:args4j:${args4j_version}"
compile "com.google.guava:guava:${guava_version}"
compile "io.bit3:jsass:${jsass_version}"
testCompile "junit:junit:${junit_version}"
}
jar {
exclude 'META-INF/*.SF', 'META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.MF'
manifest {
attributes 'Main-Class': mainClassName,
"Class-Path": configurations.compile.collect { "libs/${it.getName()}" }.join(' ')
}
}
test {
include "ca/concordia/cssanalyser/testrunner/AllTestsSuite.class"
}
task copyToLibs(type: Copy) {
into "$buildDir/libs/libs"
from configurations.runtime
}
assemble.dependsOn copyToLibs