-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
60 lines (51 loc) · 1.41 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
group 'com.fewlaps.slimjpg'
version '1.3.3'
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'com.novoda.bintray-release'
apply plugin: 'cobertura'
apply plugin: 'com.github.kt3k.coveralls'
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1'
compile 'com.twelvemonkeys.imageio:imageio-jpeg:3.4.2'
}
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
jcenter()
}
dependencies {
classpath 'com.novoda:bintray-release:0.9.1'
classpath 'net.saliman:gradle-cobertura-plugin:2.0.0'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.4.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
compileJava {
sourceCompatibility = 1.6
targetCompatibility = 1.6
}
publish {
userOrg = 'fewlaps'
groupId = 'com.fewlaps.slimjpg'
artifactId = 'slimjpg'
publishVersion = project.version
desc = 'Compress JPGs on the fly'
website = 'https://github.com/Fewlaps/slim-jpg'
}
cobertura.coverageFormats = ['html', 'xml']
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
} // coveralls plugin depends on xml format report