Skip to content

Instantly share code, notes, and snippets.

@decagondev
Created March 28, 2024 20:19
Show Gist options
  • Save decagondev/85149e49082a2bf3891c4c97b1667f93 to your computer and use it in GitHub Desktop.
Save decagondev/85149e49082a2bf3891c4c97b1667f93 to your computer and use it in GitHub Desktop.
gcp firebase
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.6.1'
}
}
plugins {
id 'org.springframework.boot' version '2.6.1'
}
apply plugin: 'io.spring.dependency-management'
group = 'com.aptkode'
version = '0.0.1-SNAPSHOT'
description = 'Demo project for Spring Boot Firebase Firestore'
repositories {
mavenCentral()
}
dependencyManagement {
imports {
mavenBom 'com.google.cloud:spring-cloud-gcp-dependencies:2.0.6'
}
}
dependencies {
implementation 'com.google.cloud:spring-cloud-gcp-starter-data-firestore'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment