2017-08-05 08:03:56 +00:00
|
|
|
apply plugin: 'java-library'
|
|
|
|
|
2017-08-16 02:40:03 +00:00
|
|
|
allprojects {
|
|
|
|
sourceCompatibility = 1.7
|
|
|
|
targetCompatibility = 1.7
|
|
|
|
}
|
|
|
|
|
2017-08-05 08:03:56 +00:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-08-16 02:40:03 +00:00
|
|
|
implementation 'com.grack:nanojson:1.1'
|
2017-08-05 08:03:56 +00:00
|
|
|
implementation 'org.jsoup:jsoup:1.9.2'
|
|
|
|
implementation 'org.mozilla:rhino:1.7.7.1'
|
2017-11-28 11:22:35 +00:00
|
|
|
implementation 'com.github.spotbugs:spotbugs-annotations:3.1.0'
|
2017-08-05 08:03:56 +00:00
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
}
|
|
|
|
|
2017-08-09 13:25:02 +00:00
|
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
|
|
classifier = 'sources'
|
|
|
|
from sourceSets.main.allSource
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
archives sourcesJar
|
2017-11-30 09:36:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType(Test) {
|
|
|
|
testLogging {
|
|
|
|
events "skipped", "failed"
|
|
|
|
showStandardStreams = true
|
|
|
|
exceptionFormat = 'full'
|
|
|
|
}
|
2017-08-09 13:25:02 +00:00
|
|
|
}
|