Skip to content

Commit

Permalink
chore: configure publication
Browse files Browse the repository at this point in the history
  • Loading branch information
chanseokoh committed Dec 2, 2021
1 parent 0229189 commit bcf8d51
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rules_java_gapic/resources/gradle/assembly.gradle.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
subprojects {
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'maven-publish'

sourceCompatibility = 1.8
Expand All @@ -16,4 +16,8 @@ subprojects {
mavenCentral()
mavenLocal()
}

publishing.publications {
library(MavenPublication).from components.java
}
}

0 comments on commit bcf8d51

Please sign in to comment.