-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
46 lines (38 loc) · 1.02 KB
/
build.gradle
File metadata and controls
46 lines (38 loc) · 1.02 KB
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
plugins {
id 'java-library'
//./gradlew dependencyUpdates -Drevision=release
id 'com.github.ben-manes.versions' version '0.20.0'
id 'org.jetbrains.kotlin.jvm' version '1.3.10'
}
group 'io.github.novacrypto'
version '1.03'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
compile 'commons-cli:commons-cli:1.4'
compile 'com.google.zxing:core:3.3.3'
compile 'com.google.zxing:javase:3.3.3'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
jar {
manifest {
attributes('Implementation-Title': project.name,
'Implementation-Version': project.version,
'Main-Class': 'io.github.novacrypto.cli.qrcode.MakeQRCodeKt')
}
// Include dependencies
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
compileKotlin {
kotlinOptions {
jvmTarget = '1.8'
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = '1.8'
}
}