Firebase SDK 9.0.0 plain java version?

后端 未结 1 391
抹茶落季
抹茶落季 2021-01-21 12:58

Firebase SDK 9.0.0 is exciting but I cannot find the plain java version of its library. The older 2.5.2 doc used to have separate SDK for Android and plain JVM, I cannot find th

相关标签:
1条回答
  • 2021-01-21 13:56

    Yes you can. Look under Server in the docs instead of the Android section.

    We publish the Firebase Java SDK to the Maven central repository. To install the library, you can simply declare it as a dependency in your build.gradle file:

    dependencies {
        compile 'com.google.firebase:firebase-server-sdk:[3.0.0,)'
    }
    

    If you use Maven to build your application, you can add the following dependency to your pom.xml:

    <dependency>
        <groupId>com.google.firebase</groupId>
        <artifactId>firebase-server-sdk</artifactId>
        <version>[3.0.0,)</version>
    </dependency>
    
    0 讨论(0)
提交回复
热议问题