Skip to content

Commit

Permalink
Merge cb28d6a into 177c51f
Browse files Browse the repository at this point in the history
  • Loading branch information
VinayGuthal authored Aug 17, 2023
2 parents 177c51f + cb28d6a commit f2bab13
Show file tree
Hide file tree
Showing 14 changed files with 943 additions and 67 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ buildscript {
}

dependencies {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.2'
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.4'
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:1.3.0'
classpath 'gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.9'
classpath 'com.google.gms:google-services:4.3.15'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,18 @@ class FirebaseLibraryPlugin : BaseFirebaseLibraryPlugin() {
setupStaticAnalysis(project, firebaseLibrary)
getIsPomValidTask(project, firebaseLibrary)
getSemverTaskAar(project, firebaseLibrary)
getPackageTransform(project, firebaseLibrary)
configurePublishing(project, firebaseLibrary, android)
}

private fun getPackageTransform(project: Project, firebaseLibrary: FirebaseLibraryExtension) {
project.tasks.register<PackageTransform>("packageTransform") {
groupId.set(firebaseLibrary.groupId.get())
artifactId.set(firebaseLibrary.artifactId.get())
projectPath.set(project.projectDir.absolutePath)
}
}

private fun getSemverTaskAar(project: Project, firebaseLibrary: FirebaseLibraryExtension) {
project.mkdir("semver")
project.tasks.register<GmavenCopier>("copyPreviousArtifacts") {
Expand Down
Loading

0 comments on commit f2bab13

Please sign in to comment.