Skip to content

Commit

Permalink
configure maven-publish plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
LavishSwarnkar committed Feb 25, 2024
1 parent 44cec51 commit bac2d5a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions commons/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
id 'maven-publish'
}

android {
Expand Down Expand Up @@ -40,4 +41,14 @@ dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}

publishing {
publications {
create(MavenPublication) {
groupId = "com.github.The-Streamliners"
artifactId = "commons"
version = "1.0"
}
}
}

0 comments on commit bac2d5a

Please sign in to comment.