Skip to content

Commit

Permalink
Add 'maven-publish' plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ammakarenko committed Jun 3, 2021
1 parent 01a2396 commit f592524
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tweet-ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,19 @@ android {
}
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
}
debug(MavenPublication) {
from components.debug
}
}
}
}

dependencies {
api project(':twitter-core')

Expand Down
13 changes: 13 additions & 0 deletions twitter-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,19 @@ android {
}
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
}
debug(MavenPublication) {
from components.debug
}
}
}
}

dependencies {
api "com.squareup.retrofit2:retrofit:2.9.0"
api "com.squareup.retrofit2:converter-gson:2.9.0"
Expand Down

0 comments on commit f592524

Please sign in to comment.