-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
60 lines (49 loc) · 1.5 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.50'
}
group 'br.com.afadc.folderstoalbumsconvertergooglephotos'
version '1.04'
apply plugin: 'application'
apply plugin: 'kotlin'
apply plugin: 'java'
mainClassName = 'br.com.afadc.folderstoalbumsconvertergooglephotos.MainKt'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
// Db Driver
implementation group:'org.xerial', name:'sqlite-jdbc', version:'3.28.0'
// Google Photos
implementation 'com.google.photos.library:google-photos-library-client:1.4.0'
implementation 'com.google.oauth-client:google-oauth-client-jetty:1.29.0'
implementation 'com.google.oauth-client:google-oauth-client-java6:1.29.0'
implementation('com.google.api-client:google-api-client:1.30.2') {
exclude group: 'com.google.guava', module: 'guava-jdk5'
}
// Coroutines
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.2'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jar {
manifest {
attributes 'Main-Class': 'br.com.afadc.folderstoalbumsconvertergooglephotos.MainKt'
}
}
task fatJar(type: Jar) {
manifest {
attributes 'Main-Class': 'br.com.afadc.folderstoalbumsconvertergooglephotos.MainKt'
}
baseName = project.name
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
with jar
}