Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Adds maven-publish plugin
  • Loading branch information
oguzkocer committed Aug 10, 2021
commit 37aadbd3739b90d199a01aeb108422ecd67ad67f
13 changes: 13 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id "com.android.library"
id "maven-publish"
}

android {
Expand Down Expand Up @@ -37,3 +38,15 @@ dependencies {
api "com.facebook.react:react-native:+"
}
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = 'com.github.wordpress-mobile'
artifactId = 'react-native-linear-gradient'
}
}
}
}