Skip to content

Commit

Permalink
publish mavenCentral
Browse files Browse the repository at this point in the history
  • Loading branch information
TxcA committed Sep 23, 2021
1 parent 1697b9b commit ec78038
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[![MavenCentral](https://img.shields.io/maven-central/v/com.itxca.msa/msa)](https://search.maven.org/artifact/com.itxca.msa/msa)
[![API](https://img.shields.io/badge/API-14%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=14)
[![License](http://img.shields.io/badge/License-MIT-brightgreen.svg?style=flat)](https://opensource.org/licenses/MIT)

Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ buildscript {

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
}
}

Expand Down
12 changes: 11 additions & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,14 @@ android {

dependencies {
compileOnly("androidx.appcompat:appcompat:1.3.1")
}
}

allprojects {
plugins.withId("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = "S01"
}
}
}

apply plugin: "com.vanniktech.maven.publish"

0 comments on commit ec78038

Please sign in to comment.