File tree 4 files changed +66
-1
lines changed
src/main/kotlin/com/google/firebase/example/dataconnect/gradle 4 files changed +66
-1
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2024 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ plugins {
18
+ `kotlin- dsl`
19
+ }
20
+
21
+ dependencies {
22
+ implementation(gradleKotlinDsl())
23
+ }
24
+
25
+ gradlePlugin {
26
+ plugins {
27
+ create(" dataconnect" ) {
28
+ id = " com.google.firebase.example.dataconnect.gradle"
29
+ implementationClass = " com.google.firebase.example.dataconnect.gradle.DataConnectGradlePlugin"
30
+ }
31
+ }
32
+ }
Original file line number Diff line number Diff line change
1
+ dependencyResolutionManagement {
2
+ repositories {
3
+ google()
4
+ mavenCentral()
5
+ }
6
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2024 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ @file:Suppress(" UnstableApiUsage" )
17
+
18
+ package com.google.firebase.example.dataconnect.gradle
19
+
20
+ import org.gradle.api.Plugin
21
+ import org.gradle.api.Project
22
+
23
+ @Suppress(" unused" )
24
+ abstract class DataConnectGradlePlugin : Plugin <Project > {
25
+ override fun apply (project : Project ) {
26
+ }
27
+ }
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.10.1-bin .zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.10.1-all .zip
4
4
networkTimeout =10000
5
5
zipStoreBase =GRADLE_USER_HOME
6
6
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments