-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
35 lines (30 loc) · 726 Bytes
/
Copy pathbuild.gradle
File metadata and controls
35 lines (30 loc) · 726 Bytes
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
apply plugin: 'java'
//apply plugin: 'application'
//mainClassName = "me.thamma.tools.telegramBot.CubeBot"
repositories {
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.rubenlagus:TelegramBots:v2.3.4'
testCompile 'junit:junit:4.12'
}
sourceSets {
jar {
java {
srcDir 'src/main/java'
exclude 'me/thamma/tools/render/render3d/*'
}
}
}
jar {
//exclude 'me/thamma/tools/render/*'
manifest {
attributes 'Main-Class': 'me.thamma.tools.telegramBot.CubeBot',
'Class-Path': configurations.runtime.files.collect {"$it.name"}.join(' ')
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}