File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id ' com.android.application' version ' 8.4.2' apply false
33 id ' org.jetbrains.kotlin.android' version ' 1.6.21' apply false
4+ id ' maven-publish'
45}
56
67tasks. register(' clean' , Delete ) {
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
2+ apply plugin : ' maven-publish'
23apply from : ' ../common.gradle'
34
45android {
@@ -32,6 +33,16 @@ dependencies {
3233 compileOnly ' com.android.support:support-fragment:24.2.0'
3334}
3435
36+ publishing {
37+ publications {
38+ release(MavenPublication ) {
39+ groupId = ' com.github.getActivity'
40+ artifactId = ' XXPermissions'
41+ version = ' 21.2'
42+ }
43+ }
44+ }
45+
3546tasks. withType(Javadoc ). configureEach {
3647 // prevent Javadoc from failing gradle build:https://stackoverflow.com/questions/35435173/prevent-javadoc-from-failing-gradle-build
3748 failOnError false
You can’t perform that action at this time.
0 commit comments