NordicSemiconductor / Android-nRF-Mesh-Library

The Bluetooth Mesh Provisioner and Configurator library.
https://www.nordicsemi.com/
BSD 3-Clause "New" or "Revised" License
414 stars 177 forks source link

Could not get unknown property 'sonatypeStagingProfileId' for object #442

Closed 123yangu closed 3 years ago

123yangu commented 3 years ago

Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'sonatypeStagingProfileId' for object of type io.github.gradlenexus.publishplugin.NexusRepository.

philips77 commented 3 years ago

Yes, true. That's needed only for releasing. The issue only happens when you try to build the project without some constants in local.properties file. If you clone the repo and add the mesh module to your project this issue should not occur. If you, however, want to compile this project for some reason, just remove/comment out the references to release scripts in build.gradle files.

philips77 commented 3 years ago

E.g. this lines: https://github.com/NordicSemiconductor/Android-nRF-Mesh-Library/blob/e03b1eba6cf4d7bb41b1fa36d3ce8055e8df4208/build.gradle#L54-L56