mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-13 05:40:34 +05:30
b719e59fae
The previous was conflicting with the built-in version of android, this should solve it as it has a different package name (with the advantage of being able to receive updates).
25 lines
481 B
Groovy
25 lines
481 B
Groovy
apply plugin: 'java-library'
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.github.openjson:openjson:1.0.8'
|
|
implementation 'org.jsoup:jsoup:1.9.2'
|
|
implementation 'org.mozilla:rhino:1.7.7.1'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
sourceCompatibility = 1.7
|
|
targetCompatibility = 1.7
|
|
}
|
|
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
artifacts {
|
|
archives sourcesJar
|
|
} |