2017-08-05 13:33:56 +05:30
|
|
|
apply plugin: 'java-library'
|
|
|
|
|
2017-08-16 08:10:03 +05:30
|
|
|
allprojects {
|
|
|
|
sourceCompatibility = 1.7
|
|
|
|
targetCompatibility = 1.7
|
|
|
|
}
|
|
|
|
|
2017-08-05 13:33:56 +05:30
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-08-16 08:10:03 +05:30
|
|
|
implementation 'com.grack:nanojson:1.1'
|
2017-08-05 13:33:56 +05:30
|
|
|
implementation 'org.jsoup:jsoup:1.9.2'
|
|
|
|
implementation 'org.mozilla:rhino:1.7.7.1'
|
2017-11-25 05:40:04 +05:30
|
|
|
implementation 'com.github.spotbugs:spotbugs:3.1.0'
|
2017-08-05 13:33:56 +05:30
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
}
|
|
|
|
|
2017-08-09 18:55:02 +05:30
|
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
|
|
classifier = 'sources'
|
|
|
|
from sourceSets.main.allSource
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
archives sourcesJar
|
|
|
|
}
|