-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
58 lines (51 loc) · 1.4 KB
/
build.gradle
File metadata and controls
58 lines (51 loc) · 1.4 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
//apply plugin: 'com.google.gms.google-services'
buildscript {
ext {
GRADLE_USER_HOME = '/home/bullshark/.sdkman/candidates/gradle/8.12'
}
dependencies {
classpath 'com.android.tools.build:gradle:8.8.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
repositories {
gradlePluginPortal()
mavenCentral()
maven { url "https://dl.google.com/dl/android/maven2" }
google()
mavenLocal()
ivy { url = uri("https://github.com/ivy-rep/") }
flatDir {
dirs "libs"
}
}
}
ext {
GRADLE_USER_HOME = '/home/bullshark/.sdkman/candidates/gradle/8.12'
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
tasks.register('printEnvVariables') {
doLast {
println "JAVA_HOME: ${System.getenv('JAVA_HOME')}"
println "GRADLE_USER_HOME: ${System.getenv('GRADLE_USER_HOME')}"
}
}
/*
allprojects {
repositories {
google()
gradlePluginPortal()
mavenCentral()
maven { url "https://dl.google.com/dl/android/maven2" }
google()
mavenLocal()
ivy { url = uri("https://github.com/ivy-rep/") }
flatDir {
dirs "libs"
}
}
}
*/