forked from pires/obd-java-api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
63 lines (54 loc) · 1.22 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
60
61
62
63
buildscript {
ext.kotlin_version = '1.4.10'
repositories {
google()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'java'
apply plugin: 'org.jetbrains.kotlin.jvm'
test {
// enable TestNG support (default is JUnit)
useTestNG()
}
repositories {
google()
jcenter()
mavenLocal()
maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots'
}
maven {
url = 'http://repo.maven.apache.org/maven2'
}
mavenCentral()
}
dependencies {
testImplementation 'org.testng:testng:6.8.13'
testImplementation 'org.easymock:easymock:3.3'
testImplementation 'org.powermock:powermock-module-testng:1.6.0'
testImplementation 'org.powermock:powermock-api-easymock:1.6.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
group = 'com.github.pires'
version = '1.1-SNAPSHOT'
description = 'OBD Java API'
sourceCompatibility = '1.7'
configurations.all {
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}