name: idea
version: "snapshot"
summary: IntelliJ Idea Community Edition
description: IntelliJ IDEA Community Edition
confinement: devmode

apps:
  idea:
    #command: gtk-launch usr/share/idea/bin/idea.sh
    command: bin/idea-launcher
    plugs: [home, unity7, x11]

parts:
  launcher:
    plugin: copy
    files:
      idea-launcher: bin/idea-launcher
  idea:
    source: https://github.com/JetBrains/intellij-community.git
    plugin: ant
    build-packages: [openjdk-8-jdk, openjfx]
    stage-packages: [openjdk-8-jdk, openjfx]
    #after: [gtkconf]

name: idea
version: "snapshot"
summary: IntelliJ Idea Community Edition
description: IntelliJ IDEA Community Edition
confinement: devmode

apps:
  idea:
    command: bin/idea-launcher
    plugs: [home, unity7, x11]

parts:
  launcher:
    plugin: copy
    files:
      idea-launcher: bin/idea-launcher
  idea:
    source: https://github.com/JetBrains/intellij-community.git
    plugin: ant
    build-packages: [openjdk-8-jdk, openjfx]
    stage-packages: [openjdk-8-jdk, openjfx]

Remove commented code for gtkconf
Remove commented code for gtkconf