@eohjsc/react-native-smart-city 0.6.2-rc4 → 0.6.2-rc6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,6 +22,10 @@ def safeExtGet(prop, fallback) {
22
22
  rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
23
23
  }
24
24
 
25
+ configurations {
26
+ compileClasspath
27
+ }
28
+
25
29
  buildscript {
26
30
  // The Android Gradle plugin is only required when opening the android folder stand-alone.
27
31
  // This avoids unnecessary downloads and potential conflicts when the library is included as a
@@ -100,6 +104,20 @@ def configureReactNativePom(def pom) {
100
104
  }
101
105
  }
102
106
 
107
+ publishing {
108
+ publications {
109
+ mavenJava(MavenPublication) {
110
+ from components.java
111
+ configureReactNativePom(pom)
112
+ }
113
+ }
114
+ repositories {
115
+ maven {
116
+ url = uri("file://${projectDir}/../android/maven")
117
+ }
118
+ }
119
+ }
120
+
103
121
  afterEvaluate { project ->
104
122
  // some Gradle build hooks ref:
105
123
  // https://www.oreilly.com/library/view/gradle-beyond-the/9781449373801/ch03.html
@@ -134,13 +152,4 @@ afterEvaluate { project ->
134
152
  archives androidSourcesJar
135
153
  archives androidJavadocJar
136
154
  }
137
-
138
- task installArchives(type: Upload) {
139
- configuration = configurations.archives
140
- repositories.mavenDeployer {
141
- // Deploy to react-native-event-bridge/maven, ready to publish to npm
142
- repository url: "file://${projectDir}/../android/maven"
143
- configureReactNativePom pom
144
- }
145
- }
146
155
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eohjsc/react-native-smart-city",
3
3
  "title": "React Native Smart Home",
4
- "version": "0.6.2-rc4",
4
+ "version": "0.6.2-rc6",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [