forked from MajeurAndroid/java-adb-remote-screen
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
43 lines (36 loc) · 966 Bytes
/
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
plugins {
id 'de.fuerstenau.buildconfig' version '1.1.4'
}
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'distribution'
sourceCompatibility = 1.8
targetCompatibility = 1.8
applicationName = 'Adb-Remote-Screen'
mainClassName = 'com.majeur.ars.AdbRemoteScreen'
version = '2.1'
group = 'com.majeur.ars'
ext.installDir = "${buildDir}/install/${applicationName}"
buildConfig {
}
jar {
baseName = project.name
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
manifest {
attributes 'Main-Class': mainClassName
}
}
repositories {
jcenter()
mavenLocal()
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/com.android.tools.ddms/ddmlib
implementation group: 'com.android.tools.ddms', name: 'ddmlib', version: '25.3.0'
}
task deleteFiles(type: Delete) {
delete "${installDir}/lib/nl/"
}
installDist.dependsOn clean
installDist.finalizedBy deleteFiles