renatoathaydes / osgi-run

Osgi-Run - A Gradle plugin to make the development of modular applications using OSGi completely painless
Apache License 2.0
54 stars 12 forks source link

`apply` line in README is missing `plugin: ` #6

Closed viphe closed 9 years ago

viphe commented 10 years ago

About the "Quick Start" section.

I couldn't make it work until I added plugin:. Here is a minimal example of osgi-run for Equinoxe:

buildscript {
  repositories {
    jcenter()
  }
  dependencies {
    classpath "com.athaydes.gradle.osgi:osgi-run-core:1.0"
  }
}

apply plugin: 'osgi-run'

repositories {
  mavenCentral()
}

runOsgi {
  osgiMain = EQUINOX
  bundles = subprojects
  javaArgs = '-console'
  configSettings = 'equinox'
  bundlesPath = 'plugins'
}

task wrapper(type: Wrapper) {
  gradleVersion = '2.1'
}
renatoathaydes commented 10 years ago

I made it more convenient in the upcoming version... Will update the docs soon, but thanks for telling me about the problem!

viphe commented 10 years ago

Nice. Thanks!