Skip to content

Commit

Permalink
publish to maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
hpuhsp committed Apr 30, 2021
1 parent f920bbc commit 82adbce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
local.properties
bintray.gradle
nexus_upload.gradle
gradle.properties
gradle.properties
publish_mavencentral.gradle
10 changes: 9 additions & 1 deletion scanner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,12 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
}
//apply from: '../bintray.gradle'
apply from: '../nexus_upload.gradle'
//apply from: '../nexus_upload.gradle'

// 上传Maven 中央仓库
ext {
PUBLISH_GROUP_ID = 'io.github.hpuhsp'
PUBLISH_ARTIFACT_ID = 'qr-scanner'
PUBLISH_VERSION = '1.0.0'
}
apply from: '../publish_mavencentral.gradle'

0 comments on commit 82adbce

Please sign in to comment.