Use of build-properties in the schema is deprecated.
Jenny Murphy
jenny.murphy at episensor.com
Wed Jan 11 11:26:14 UTC 2017
I recently upgraded to snapcraft 2.24 (from 2.22) for building my .snaps.
Now I am getting the following warning :
Use of build-properties in the schema is deprecated.
Plugins should now implement get_build_properties
This is my yaml file :
name: gateway
version: '2.0' # just for humans, typically '1.2+git' or '1.3.2'
summary: EpiSensor IIoT Gateway Application # 79 char long summary
description:
This is a Java application with web interface and a RESTful API.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
icon: epi-icon-256x256px.png
apps:
main:
command: bin/wrapper
daemon: simple
plugs: [zap-plug]
plugs:
zap-plug:
interface: serial-port
parts:
move-lib:
plugin: dump
source: ./lib/
organize:
"*": lib/
move-ext-lib:
plugin: dump
source: ./ext-lib/
organize:
"*": ext-lib/
move-webapp:
plugin: dump
source: ./webapp/
organize:
"*": webapp/
move-config:
plugin: dump
source: ./config/
organize:
"*": config/
move-scripts:
plugin: dump
source: ./scripts/
organize:
"*": scripts/
main:
plugin: ant
source: .
wrapper:
plugin: make
source: .
move-rxtx:
after: [move-ext-lib]
plugin: dump
source: ./rxtx
organize:
RXTXcomm.jar: ext-lib/RXTXcomm.jar
librxtxSerial.so:
usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/librxtxSerial.so
Any ideas as to why this has changed?
--
*Jenny Murphy*
*EpiSensor, Georges Quay House, Georges Quay, Limerick, Ireland*
jenny.murphy at episensor.com <jenny.murphy at episensor.com> t | +353 (0) 61
512 511 w | http://www.episensor.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170111/9e2f31ae/attachment.html>
More information about the Snapcraft
mailing list