File tree Expand file tree Collapse file tree 20 files changed +132
-132
lines changed
scripts/_TEMPLATE_/android Expand file tree Collapse file tree 20 files changed +132
-132
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,11 @@ if (rootProject.ext && rootProject.ext.firebaseJson) {
119
119
android {
120
120
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
121
121
if (agpVersion >= 7 ) {
122
- namespace ' io.invertase.firebase.analytics'
122
+ namespace = ' io.invertase.firebase.analytics'
123
123
}
124
124
125
125
defaultConfig {
126
- multiDexEnabled true
126
+ multiDexEnabled = true
127
127
manifestPlaceholders = [
128
128
firebaseJsonAutoCollectionEnabled : dataCollectionEnabled,
129
129
firebaseJsonCollectionDeactivated : collectionDeactivated,
@@ -139,18 +139,18 @@ android {
139
139
140
140
buildFeatures {
141
141
// AGP 8 no longer builds config by default
142
- buildConfig true
142
+ buildConfig = true
143
143
}
144
144
145
145
lintOptions {
146
146
disable ' GradleCompatible'
147
- abortOnError false
147
+ abortOnError = false
148
148
}
149
149
150
150
if (agpVersion < 8 ) {
151
151
compileOptions {
152
- sourceCompatibility JavaVersion . VERSION_11
153
- targetCompatibility JavaVersion . VERSION_11
152
+ sourceCompatibility = JavaVersion . VERSION_11
153
+ targetCompatibility = JavaVersion . VERSION_11
154
154
}
155
155
}
156
156
Original file line number Diff line number Diff line change @@ -62,29 +62,29 @@ project.ext {
62
62
android {
63
63
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
64
64
if (agpVersion >= 7 ) {
65
- namespace ' io.invertase.firebase.appcheck'
65
+ namespace = ' io.invertase.firebase.appcheck'
66
66
}
67
67
68
68
defaultConfig {
69
- multiDexEnabled true
69
+ multiDexEnabled = true
70
70
// Here we add a build config field to allow devs to provide a
71
71
// FIREBASE_APP_CHECK_DEBUG_TOKEN to be used in debug mode.
72
72
buildConfigField " String" , " FIREBASE_APP_CHECK_DEBUG_TOKEN" , " \" ${ System.env.FIREBASE_APP_CHECK_DEBUG_TOKEN} \" "
73
73
}
74
74
75
75
buildFeatures {
76
76
// AGP 8 no longer builds config by default
77
- buildConfig true
77
+ buildConfig = true
78
78
}
79
79
80
80
lintOptions {
81
81
disable ' GradleCompatible'
82
- abortOnError false
82
+ abortOnError = false
83
83
}
84
84
if (agpVersion < 8 ) {
85
85
compileOptions {
86
- sourceCompatibility JavaVersion . VERSION_11
87
- targetCompatibility JavaVersion . VERSION_11
86
+ sourceCompatibility = JavaVersion . VERSION_11
87
+ targetCompatibility = JavaVersion . VERSION_11
88
88
}
89
89
}
90
90
sourceSets {
Original file line number Diff line number Diff line change @@ -62,21 +62,21 @@ project.ext {
62
62
android {
63
63
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
64
64
if (agpVersion >= 7 ) {
65
- namespace ' io.invertase.firebase.appdistribution'
65
+ namespace = ' io.invertase.firebase.appdistribution'
66
66
}
67
67
68
68
defaultConfig {
69
- multiDexEnabled true
69
+ multiDexEnabled = true
70
70
}
71
71
lintOptions {
72
72
disable ' GradleCompatible'
73
- abortOnError false
73
+ abortOnError = false
74
74
}
75
75
76
76
if (agpVersion < 8 ) {
77
77
compileOptions {
78
- sourceCompatibility JavaVersion . VERSION_11
79
- targetCompatibility JavaVersion . VERSION_11
78
+ sourceCompatibility = JavaVersion . VERSION_11
79
+ targetCompatibility = JavaVersion . VERSION_11
80
80
}
81
81
}
82
82
Original file line number Diff line number Diff line change @@ -62,29 +62,29 @@ if (rootProject.ext && rootProject.ext.firebaseJson) {
62
62
android {
63
63
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
64
64
if (agpVersion >= 7 ) {
65
- namespace ' io.invertase.firebase'
65
+ namespace = ' io.invertase.firebase'
66
66
}
67
67
68
68
defaultConfig {
69
- multiDexEnabled true
69
+ multiDexEnabled = true
70
70
manifestPlaceholders = [
71
71
firebaseJsonDataCollectionDefaultEnabled : dataCollectionDefaultEnabled
72
72
]
73
73
}
74
74
75
75
buildFeatures {
76
76
// AGP 8 no longer builds config by default
77
- buildConfig true
77
+ buildConfig = true
78
78
}
79
79
80
80
lintOptions {
81
81
disable ' GradleCompatible'
82
- abortOnError false
82
+ abortOnError = false
83
83
}
84
84
if (agpVersion < 8 ) {
85
85
compileOptions {
86
- sourceCompatibility JavaVersion . VERSION_11
87
- targetCompatibility JavaVersion . VERSION_11
86
+ sourceCompatibility = JavaVersion . VERSION_11
87
+ targetCompatibility = JavaVersion . VERSION_11
88
88
}
89
89
}
90
90
Original file line number Diff line number Diff line change @@ -61,20 +61,20 @@ project.ext {
61
61
android {
62
62
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
63
63
if (agpVersion >= 7 ) {
64
- namespace ' io.invertase.firebase.auth'
64
+ namespace = ' io.invertase.firebase.auth'
65
65
}
66
66
67
67
defaultConfig {
68
- multiDexEnabled true
68
+ multiDexEnabled = true
69
69
}
70
70
lintOptions {
71
71
disable ' GradleCompatible'
72
- abortOnError false
72
+ abortOnError = false
73
73
}
74
74
if (agpVersion < 8 ) {
75
75
compileOptions {
76
- sourceCompatibility JavaVersion . VERSION_11
77
- targetCompatibility JavaVersion . VERSION_11
76
+ sourceCompatibility = JavaVersion . VERSION_11
77
+ targetCompatibility = JavaVersion . VERSION_11
78
78
}
79
79
}
80
80
}
Original file line number Diff line number Diff line change @@ -62,26 +62,26 @@ project.ext {
62
62
android {
63
63
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
64
64
if (agpVersion >= 7 ) {
65
- namespace ' io.invertase.firebase.crashlytics'
65
+ namespace = ' io.invertase.firebase.crashlytics'
66
66
}
67
67
68
68
defaultConfig {
69
- multiDexEnabled true
69
+ multiDexEnabled = true
70
70
}
71
71
72
72
buildFeatures {
73
73
// AGP 8 no longer builds config by default
74
- buildConfig true
74
+ buildConfig = true
75
75
}
76
76
77
77
lintOptions {
78
78
disable ' GradleCompatible'
79
- abortOnError false
79
+ abortOnError = false
80
80
}
81
81
if (agpVersion < 8 ) {
82
82
compileOptions {
83
- sourceCompatibility JavaVersion . VERSION_11
84
- targetCompatibility JavaVersion . VERSION_11
83
+ sourceCompatibility = JavaVersion . VERSION_11
84
+ targetCompatibility = JavaVersion . VERSION_11
85
85
}
86
86
}
87
87
}
Original file line number Diff line number Diff line change @@ -62,20 +62,20 @@ project.ext {
62
62
android {
63
63
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
64
64
if (agpVersion >= 7 ) {
65
- namespace ' io.invertase.firebase.database'
65
+ namespace = ' io.invertase.firebase.database'
66
66
}
67
67
68
68
defaultConfig {
69
- multiDexEnabled true
69
+ multiDexEnabled = true
70
70
}
71
71
lintOptions {
72
72
disable ' GradleCompatible'
73
- abortOnError false
73
+ abortOnError = false
74
74
}
75
75
if (agpVersion < 8 ) {
76
76
compileOptions {
77
- sourceCompatibility JavaVersion . VERSION_11
78
- targetCompatibility JavaVersion . VERSION_11
77
+ sourceCompatibility = JavaVersion . VERSION_11
78
+ targetCompatibility = JavaVersion . VERSION_11
79
79
}
80
80
}
81
81
sourceSets {
Original file line number Diff line number Diff line change @@ -62,21 +62,21 @@ project.ext {
62
62
android {
63
63
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
64
64
if (agpVersion >= 7 ) {
65
- namespace ' io.invertase.firebase.dynamiclinks'
65
+ namespace = ' io.invertase.firebase.dynamiclinks'
66
66
}
67
67
68
68
defaultConfig {
69
- multiDexEnabled true
69
+ multiDexEnabled = true
70
70
}
71
71
lintOptions {
72
72
disable ' GradleCompatible'
73
- abortOnError false
73
+ abortOnError = false
74
74
}
75
75
76
76
if (agpVersion < 8 ) {
77
77
compileOptions {
78
- sourceCompatibility JavaVersion . VERSION_11
79
- targetCompatibility JavaVersion . VERSION_11
78
+ sourceCompatibility = JavaVersion . VERSION_11
79
+ targetCompatibility= JavaVersion . VERSION_11
80
80
}
81
81
}
82
82
}
Original file line number Diff line number Diff line change @@ -62,20 +62,20 @@ project.ext {
62
62
android {
63
63
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
64
64
if (agpVersion >= 7 ) {
65
- namespace ' io.invertase.firebase.firestore'
65
+ namespace = ' io.invertase.firebase.firestore'
66
66
}
67
67
68
68
defaultConfig {
69
- multiDexEnabled true
69
+ multiDexEnabled = true
70
70
}
71
71
lintOptions {
72
72
disable ' GradleCompatible'
73
- abortOnError false
73
+ abortOnError = false
74
74
}
75
75
if (agpVersion < 8 ) {
76
76
compileOptions {
77
- sourceCompatibility JavaVersion . VERSION_11
78
- targetCompatibility JavaVersion . VERSION_11
77
+ sourceCompatibility = JavaVersion . VERSION_11
78
+ targetCompatibility = JavaVersion . VERSION_11
79
79
}
80
80
}
81
81
sourceSets {
Original file line number Diff line number Diff line change @@ -62,21 +62,21 @@ project.ext {
62
62
android {
63
63
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
64
64
if (agpVersion >= 7 ) {
65
- namespace ' io.invertase.firebase.functions'
65
+ namespace = ' io.invertase.firebase.functions'
66
66
}
67
67
68
68
defaultConfig {
69
- multiDexEnabled true
69
+ multiDexEnabled = true
70
70
}
71
71
lintOptions {
72
72
disable ' GradleCompatible'
73
- abortOnError false
73
+ abortOnError = false
74
74
}
75
75
76
76
if (agpVersion < 8 ) {
77
77
compileOptions {
78
- sourceCompatibility JavaVersion . VERSION_11
79
- targetCompatibility JavaVersion . VERSION_11
78
+ sourceCompatibility = JavaVersion . VERSION_11
79
+ targetCompatibility = JavaVersion . VERSION_11
80
80
}
81
81
}
82
82
Original file line number Diff line number Diff line change @@ -84,30 +84,30 @@ if (rootProject.ext && rootProject.ext.firebaseJson) {
84
84
android {
85
85
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
86
86
if (agpVersion >= 7 ) {
87
- namespace ' io.invertase.firebase.fiam'
87
+ namespace = ' io.invertase.firebase.fiam'
88
88
}
89
89
90
90
defaultConfig {
91
- multiDexEnabled true
91
+ multiDexEnabled = true
92
92
manifestPlaceholders = [
93
93
firebaseJsonAutoInitEnabled : dataCollectionEnabled
94
94
]
95
95
}
96
96
97
97
buildFeatures {
98
98
// AGP 8 no longer builds config by default
99
- buildConfig true
99
+ buildConfig = true
100
100
}
101
101
102
102
lintOptions {
103
103
disable ' GradleCompatible'
104
- abortOnError false
104
+ abortOnError = false
105
105
}
106
106
107
107
if (agpVersion < 8 ) {
108
108
compileOptions {
109
- sourceCompatibility JavaVersion . VERSION_11
110
- targetCompatibility JavaVersion . VERSION_11
109
+ sourceCompatibility = JavaVersion . VERSION_11
110
+ targetCompatibility = JavaVersion . VERSION_11
111
111
}
112
112
}
113
113
Original file line number Diff line number Diff line change @@ -62,21 +62,21 @@ project.ext {
62
62
android {
63
63
def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
64
64
if (agpVersion >= 7 ) {
65
- namespace ' io.invertase.firebase.installations'
65
+ namespace = ' io.invertase.firebase.installations'
66
66
}
67
67
68
68
defaultConfig {
69
- multiDexEnabled true
69
+ multiDexEnabled = true
70
70
}
71
71
lintOptions {
72
72
disable ' GradleCompatible'
73
- abortOnError false
73
+ abortOnError = false
74
74
}
75
75
76
76
if (agpVersion < 8 ) {
77
77
compileOptions {
78
- sourceCompatibility JavaVersion . VERSION_11
79
- targetCompatibility JavaVersion . VERSION_11
78
+ sourceCompatibility = JavaVersion . VERSION_11
79
+ targetCompatibility = JavaVersion . VERSION_11
80
80
}
81
81
}
82
82
You can’t perform that action at this time.
0 commit comments