-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (52 loc) · 1.27 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
apply plugin: 'java'
apply plugin: 'groovy'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
}
}
group = "com.astronlab.lib"
version = "1.0"
repositories {
mavenCentral()
}
tasks {
compileJava {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
compileGroovy {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
}
dependencies {
compile project(':SharedCore')
implementation "ru.yandex.qatools.ashot:ashot:1.5.2"
compile 'com.machinepublishers:jbrowserdriver:1.1.1'
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.14.2'
}
//---------shadow plugin-----------
//buildscript {
// repositories {
// jcenter()
// }
// dependencies {
// classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2'
// }
//}
//apply plugin: 'com.github.johnrengelman.shadow'
//shadowJar {
// minimize() //optional
// manifest {
// attributes 'Description': 'This is an application JAR'
// attributes 'Main-Class': 'com.astronlab....' //main class
// }
//
// //archiveName = "button.${extension}"
// //----how to run:---
// //java -jar xxx-all.jar
//}