File tree Expand file tree Collapse file tree 4 files changed +24
-3
lines changed Expand file tree Collapse file tree 4 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,15 @@ tasks.register("publishAllInsideNpmPackage") {
9191 dependsOn(" :packages:react-native:ReactAndroid:hermes-engine:installArchives" )
9292}
9393
94+ tasks.register(" publishAllToMavenCodeArtifact" ) {
95+ description = " Publish all the artifacts to be available inside a Maven Local repository on /tmp."
96+ dependsOn(" :packages:react-native:ReactAndroid:publishAllPublicationsToCodeArtifactRepository" )
97+ // We don't publish the external-artifacts to Maven Local as CircleCI is using it via workspace.
98+ dependsOn(
99+ " :packages:react-native:ReactAndroid:hermes-engine:publishAllPublicationsToCodeArtifactRepository" )
100+ }
101+
102+
94103tasks.register(" publishAllToMavenTempLocal" ) {
95104 description = " Publish all the artifacts to be available inside a Maven Local repository on /tmp."
96105 dependsOn(" :packages:react-native:ReactAndroid:publishAllPublicationsToMavenTempLocalRepository" )
Original file line number Diff line number Diff line change 1- VERSION_NAME =0.72.16
1+ VERSION_NAME =0.72.17
22GROUP =com.facebook.react
33
44# JVM Versions
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ def signingPwd = findProperty("SIGNING_PWD")
1515def reactAndroidProjectDir = project(' :packages:react-native:ReactAndroid' ). projectDir
1616def androidOutputUrl = " file://${ reactAndroidProjectDir} /../android"
1717def mavenTempLocalUrl = " file:///tmp/maven-local"
18+ def codeArtifactUrl = " https://amazon-149122183214.d.codeartifact.us-west-2.amazonaws.com/maven/react-knappa"
19+ // def codeArtifactUrl = "https://hera-905418065147.d.codeartifact.us-west-2.amazonaws.com/maven/react-knappa-internal"
1820
1921publishing {
2022 publications {
@@ -65,6 +67,16 @@ publishing {
6567 }
6668
6769 repositories {
70+ maven {
71+ name = " codeArtifact"
72+ url = codeArtifactUrl
73+
74+ credentials {
75+ username " aws"
76+ password System . env. CODEARTIFACT_AUTH_TOKEN
77+ }
78+ }
79+
6880 maven {
6981 name = " npm"
7082 url = androidOutputUrl
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native" ,
3- "version" : " 0.72.16 " ,
3+ "version" : " 0.72.17 " ,
44 "bin" : " ./cli.js" ,
55 "description" : " A framework for building native apps using React" ,
66 "license" : " MIT" ,
134134 }
135135 ]
136136 }
137- }
137+ }
You can’t perform that action at this time.
0 commit comments