Skip to content

Instantly share code, notes, and snippets.

@cfalzone
Created November 27, 2013 14:57
Show Gist options
  • Save cfalzone/7677054 to your computer and use it in GitHub Desktop.
Save cfalzone/7677054 to your computer and use it in GitHub Desktop.
Grable Build File for dotCMS
apply plugin: 'war'
apply plugin: 'osgi'
apply plugin: 'eclipse'
sourceCompatibility = '1.6'
version = '0.1'
repositories {
maven {
url "http://repo.dotcms.com/artifactory/libs-release"
}
}
dependencies {
compile (group: 'com.dotcms', name: 'dotcms', version: '2.5.1'){
transitive = true
}
providedCompile "javax.servlet:servlet-api:2.5"
compile fileTree(dir: 'src/main/resources/lib', include: '*.jar')
}
jar {
manifest {
name = 'Aquent Main'
symbolicName = 'com.aquent'
instruction 'Bundle-Vendor', 'Aquent, LLC ([email protected])'
instruction 'Bundle-Description', 'Main Aquent Plugin'
instruction 'Bundle-DocURL', 'http://www.aquent.com'
instruction 'Bundle-Activator', 'com.aquent.osgi.AquentActivator'
instruction 'Bundle-ClassPath', '.', 'lib/openid4java-0.9.5.jar'
instruction 'DynamicImport-Package', '*'
instruction 'Import-Package', '!org.openid4java.*', '!org.springframework.*', 'org.json;version=0', '*;version=0'
instruction 'Export-Package', '*;version=0'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment