forked from iheartradio/open-m3u8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (48 loc) · 1.02 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
48
49
50
51
52
53
54
55
56
57
58
59
buildscript {
repositories {
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'net.researchgate:gradle-release:2.6.0'
}
}
plugins {
id 'net.saliman.cobertura' version '2.2.7'
}
repositories {
mavenCentral()
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
apply plugin: 'net.researchgate.release'
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
group 'ustream'
archivesBaseName = 'open-m3u8'
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
testRuntime "org.slf4j:slf4j-log4j12:1.7.5"
testRuntime "log4j:log4j:1.2.7"
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives javadocJar, sourcesJar
}
task wrapper(type: Wrapper) {
gradleVersion = "2.8"
}