27 lines
No EOL
485 B
Groovy
27 lines
No EOL
485 B
Groovy
apply plugin: 'java-library'
|
|
|
|
allprojects {
|
|
sourceCompatibility = 1.7
|
|
targetCompatibility = 1.7
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.grack:nanojson:1.1'
|
|
implementation 'org.jsoup:jsoup:1.9.2'
|
|
implementation 'org.mozilla:rhino:1.7.7.1'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
}
|
|
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
artifacts {
|
|
archives sourcesJar
|
|
} |