SAP / gigya-react-native-plugin-for-sap-customer-data-cloud

A React Native plugin for interfacing SAP Customer Data Cloud. The plugin provides quick access to core elements & business API flows available within the SAP Customer Data Cloud designed for React Native mobile application.
Apache License 2.0
14 stars 11 forks source link

Update build.gradle #36

Open dle-nascar opened 1 year ago

dle-nascar commented 1 year ago

Update to use maven-publish for Gradle 7 support

cla-assistant[bot] commented 1 year ago

CLA assistant check
All committers have signed the CLA.

jozsef-ftrc commented 1 year ago

Tried to add this to a fresh bare bone project but got this one:

> Could not resolve all files for configuration ':sap_oss_gigya-react-native-plugin-for-sap-customer-data-cloud:customConfig'.
   > Could not resolve com.facebook.react:react-native:+.
     Required by:
         project :sap_oss_gigya-react-native-plugin-for-sap-customer-data-cloud
      > Cannot choose between the following variants of com.facebook.react:react-native:0.70.6:
          - debugVariantDefaultRuntimePublication
          - releaseVariantDefaultRuntimePublication
        All of them match the consumer attributes:
          - Variant 'debugVariantDefaultRuntimePublication' capability com.facebook.react:react-native:0.70.6:
              - Unmatched attributes:
                  - Provides com.android.build.api.attributes.BuildTypeAttr 'debug' but the consumer didn't ask for it
                  - Provides org.gradle.category 'library' but the consumer didn't ask for it
                  - Provides org.gradle.dependency.bundling 'external' but the consumer didn't ask for it
                  - Provides org.gradle.libraryelements 'aar' but the consumer didn't ask for it
                  - Provides org.gradle.status 'release' but the consumer didn't ask for it
                  - Provides org.gradle.usage 'java-runtime' but the consumer didn't ask for it
          - Variant 'releaseVariantDefaultRuntimePublication' capability com.facebook.react:react-native:0.70.6:
              - Unmatched attributes:
                  - Provides com.android.build.api.attributes.BuildTypeAttr 'release' but the consumer didn't ask for it
                  - Provides org.gradle.category 'library' but the consumer didn't ask for it
                  - Provides org.gradle.dependency.bundling 'external' but the consumer didn't ask for it
                  - Provides org.gradle.libraryelements 'aar' but the consumer didn't ask for it
                  - Provides org.gradle.status 'release' but the consumer didn't ask for it
                  - Provides org.gradle.usage 'java-runtime' but the consumer didn't ask for it

I've removed the androidJavadoc and androidJavadocJar packages for the time being

Also related: https://github.com/facebook/react-native/issues/35210