-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
66 lines (53 loc) · 1.09 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
64
65
66
group 'org.ice1000'
version '1.3.2'
buildscript {
ext.kotlin_version = '1.1.51'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
repositories {
flatDir {
dirs 'lib'
}
}
}
sourceSets {
main.kotlin.srcDirs += 'src'
main.resources.srcDirs += 'res'
main.java.srcDirs += 'src'
}
configurations {
artifact
}
dependencies {
artifact "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
artifact group: 'org.jetbrains', name: 'annotations', version: '15.0'
artifact 'com.jfoenix:jfoenix:1.4.0'
artifact name: 'jl1.0.1'
artifact name: 'mp3spi1.9.5'
artifact name: 'tritonus_share'
configurations.compile.extendsFrom(configurations.artifact)
}
jar {
manifest {
attributes 'Main-Class': 'org.ice1000.dekoder.gui.ViewKt'
}
from {
configurations
.artifact
.collect { it.isDirectory() ? it : zipTree(it) }
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}