-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (48 loc) · 1.29 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
buildscript {
ext.kotlin_version = '1.4.10'
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "com.github.johnrengelman.shadow" version "6.1.0"
}
plugins {
id "com.github.ben-manes.versions" version "0.33.0"
// Usage: gradle dependencyUpdates -Drevision=release
}
// apply plugin: 'java'gradle
// apply plugin: 'maven'
apply plugin: 'kotlin'
apply plugin: 'application'
group = 'ch.bubendorf'
version = '1.2.4'
mainClassName = 'ch.bubendorf.rupi.RupiKt'
description = 'RupiCreator'
jar {
manifest {
attributes 'Implementation-Title': description,
'Implementation-Version': version
}
}
// sourceCompatibility = 1.8
// targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
// maven { url "http://repo.maven.apache.org/maven2" }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "com.beust:jcommander:1.78"
compile "org.slf4j:slf4j-api:1.8.0-beta4"
compile "org.slf4j:slf4j-simple:1.8.0-beta4"
compile "commons-io:commons-io:2.8.0"
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
testCompile "junit:junit:4.13.1"
}