forked from serezhka/java-airplay-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (39 loc) · 1.01 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
plugins {
id 'maven'
id 'java-library'
}
group 'com.github.serezhka'
version '1.0.2'
sourceCompatibility = 1.9
repositories {
mavenCentral()
}
dependencies {
implementation "org.jmdns:jmdns:3.5.5"
implementation "net.i2p.crypto:eddsa:0.3.0"
implementation "org.whispersystems:curve25519-java:0.5.0"
implementation "com.googlecode.plist:dd-plist:1.22"
implementation "org.slf4j:slf4j-api:1.7.30"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.4.2"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.4.2"
testRuntimeOnly "org.slf4j:slf4j-simple:1.7.30"
}
test {
useJUnitPlatform()
}
wrapper {
gradleVersion = '6.1.1'
distributionType = Wrapper.DistributionType.ALL
}
task fatJar(type: Jar) {
classifier = 'all'
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
task jarSources(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives jarSources
}