Skip to content

Commit

Permalink
Release v6.52.2
Browse files Browse the repository at this point in the history
  • Loading branch information
neerhaj committed Jul 26, 2022
1 parent ea3927e commit a10ffc3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
30 changes: 10 additions & 20 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def safeExtGet(prop, fallback) {
}

apply plugin: 'com.android.library'
apply plugin: 'maven'
apply plugin: 'maven-publish'

buildscript {
// The Android Gradle plugin is only required when opening the android folder stand-alone.
Expand All @@ -30,10 +30,10 @@ buildscript {
if (project == rootProject) {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'com.android.tools.build:gradle:7.2.1'
}
}
}
Expand Down Expand Up @@ -92,13 +92,6 @@ def configureReactNativePom(def pom) {
distribution 'repo'
}
}

/*developers {
developer {
id packageJson.author.username
name packageJson.author.name
}
}*/
}
}

Expand All @@ -108,17 +101,16 @@ afterEvaluate { project ->
task androidJavadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += files(android.bootClasspath)
classpath += files(project.getConfigurations().getByName('compile').asList())
include '**/*.java'
}

task androidJavadocJar(type: Jar, dependsOn: androidJavadoc) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from androidJavadoc.destinationDir
}

task androidSourcesJar(type: Jar) {
classifier = 'sources'
archiveClassifier = 'sources'
from android.sourceSets.main.java.srcDirs
include '**/*.java'
}
Expand All @@ -132,15 +124,13 @@ afterEvaluate { project ->

artifacts {
archives androidSourcesJar
archives androidJavadocJar
}

task installArchives(type: Upload) {
configuration = configurations.archives
repositories.mavenDeployer {
// Deploy to react-native-event-bridge/maven, ready to publish to npm
repository url: "file://${projectDir}/../android/maven"
configureReactNativePom pom
publishing {
publications {
maven(MavenPublication) {
artifact androidSourcesJar
}
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oracle/react-native-pushiomanager",
"version": "6.52.1",
"version": "6.52.2",
"description": "React Native Module for Responsys Mobile SDK",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit a10ffc3

Please sign in to comment.