-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
60 lines (54 loc) · 1.53 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
ext {
var = '1.8'
compileSdkVersion = 28
buildToolsVersion = '28.0.3'
//noinspection GradleIdeError
minSdkVersion = 16
//noinspection GradleIdeError
targetSdkVersion = 28
gsonLibrary = "2.8.2"
butterknife = "10.1.0"
playServices = "17.0.0"
dagger = "2.15"
glide = "4.8.0"
retrofit = "2.4.0"
}
buildscript {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'http://dl.bintray.com/glomadrian/maven' }
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.31"
classpath 'com.google.gms:google-services:4.2.0'
classpath "de.undercouch:gradle-download-task:4.0.0"
classpath 'com.google.firebase:perf-plugin:1.3.1'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url "http://maven.display.io/" }
maven { url 'http://dl.bintray.com/glomadrian/maven' }
maven { url "https://jitpack.io" }
maven { url "https://plugins.gradle.org/m2/" }
}
}
apply plugin: 'de.undercouch.download'
task clean(type: Delete) {
delete rootProject.buildDir
}
task downloadVideoNoContent(type: Download) {
src 'http://idooh.com.br/default'
dest new File('app/src/main/res/raw', 'slide_no_content.mp4')
overwrite false
}
defaultTasks 'downloadVideoNoContent'
//downloadVideoNoContent.execute()
//downloadVideoNoContent.await()