forked from time2die/tRussianBank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·49 lines (39 loc) · 1.26 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
group 'org.time2java'
version '0.1-beta'
apply plugin: 'java'
apply plugin: 'scala'
apply plugin: 'application'
apply plugin: 'idea'
mainClassName = 'org.time2java.tRussianBank.Main'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
sourceSets.main.scala.srcDirs 'src/main/java', 'src/main/scala'
sourceSets.main.java.srcDirs = []
tasks.withType(ScalaCompile) {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
tasks.withType(JavaCompile) {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
dependencies {
compile 'com.google.api-client:google-api-client:1.22.0'
compile 'com.google.oauth-client:google-oauth-client-jetty:1.22.0'
compile 'com.google.apis:google-api-services-sheets:v4-rev108-1.22.0'
compile 'org.scala-lang:scala-compiler:2.12.0'
compile 'org.apache.commons:commons-lang3:3.5'
compile 'com.typesafe:config:1.3.1'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2'
compile group: 'org.telegram', name: 'telegrambots', version: '2.4.3'
}
startScripts {
doLast {
unixScript.text = unixScript.text.replace('DEFAULT_JVM_OPTS=""', 'DEFAULT_JVM_OPTS="-Xmx80m"')
}
}
applicationDefaultJvmArgs = ["-Xmx80m"]