-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
59 lines (50 loc) · 1.59 KB
/
build.gradle
File metadata and controls
59 lines (50 loc) · 1.59 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
59
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// 12/27/2024 add this comment to force a build to see if it still works
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven { url "https://maven.google.com" }
jcenter()
maven { url 'https://jitpack.io' }
mavenCentral()
google()
// Add for Flexbox
maven {
url "https://google.bintray.com/flexbox-layout"
}
}
dependencies {
modules {
module("com.google.android:flexbox") {
replacedBy("com.google.android.flexbox:flexbox")
}
}
}
// Global variables common to all modules
ext {
rtCompileSdkVersion=29 //Integer
rtBuildToolsVersion="26.0.1" //String
rtMinSdkVersion=21
// Note that using target version 22 bypasses the new run-time permissions found
// in Marshmallow 23
rtTargetSdkVersion=22
rtVersionCode=1
// Semantic versioning description:
// <Milestone release> <Feature Release> <Patch release> <Asset Compatibility INDEX>
rtVersionName="3.5.0.1"
//TODO: move this out of build so we don't have to rebuild to unzip assets
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}