Created
April 3, 2014 18:40
-
-
Save cfalzone/9960293 to your computer and use it in GitHub Desktop.
Gradle build file for dotCMS osgi plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'war' | |
apply plugin: 'osgi' | |
apply plugin: 'eclipse' | |
sourceCompatibility = '1.6' | |
version = '0.1' | |
repositories { | |
mavenCentral() | |
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 { | |
exclude('org/json/*') | |
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/axis.jar', | |
'lib/commons-discovery-0.5.jar', | |
'lib/ehcache-1.2.4.jar', | |
'lib/google-api-client-1.17.0-rc.jar', | |
'lib/google-api-client-appengine-1.17.0-rc.jar', | |
'lib/google-api-client-servlet-1.17.0-rc.jar', | |
'lib/google-http-client-1.17.0-rc.jar', | |
'lib/google-http-client-appengine-1.17.0-rc.jar', | |
'lib/google-http-client-jackson-1.17.0-rc.jar', | |
'lib/google-oauth-client-1.17.0-rc.jar', | |
'lib/google-oauth-client-appengine-1.17.0-rc.jar', | |
'lib/google-oauth-client-servlet-1.17.0-rc.jar', | |
'lib/gson-2.1.jar', | |
'lib/guice-2.0.jar', | |
'lib/higgins-configuration-api.jar', | |
'lib/higgins-sts-api.jar', | |
'lib/higgins-sts-common.jar', | |
'lib/higgins-sts-server-token-handler.jar', | |
'lib/higgins-sts-spi.jar', | |
'lib/httpclient-4.2.3.jar', | |
'lib/httpcore-4.2.2.jar', | |
'lib/httpmime-4.2.3.jar', | |
'lib/jackson-core-2.1.3.jar', | |
'lib/jaxrpc-api.jar', | |
'lib/jaxrpc-impl.jar', | |
'lib/jaxrpc-spi.jar', | |
'lib/jaxrpc.jar', | |
'lib/jcl-over-slf4j-1.6.4.jar', | |
'lib/jdo2-api-2.3-eb.jar', | |
'lib/nekohtml-1.9.14.jar', | |
'lib/openxri-client-1.2.1.jar', | |
'lib/openxri-syntax-1.2.1.jar', | |
'lib/protobuf-java-2.4.1.jar', | |
'lib/saaj.jar', | |
'lib/slf4j-api-1.6.4.jar', | |
'lib/slf4j-jdk14-1.6.4.jar', | |
'lib/solr-solrj-4.2.1.jar', | |
'lib/transaction-api-1.1.jar', | |
'lib/wsdl4j.jar', | |
'lib/wstx-asl-3.2.7.jar', | |
'lib/xercesImpl-2.8.1.jar', | |
'lib/zookeeper-3.4.5.jar' | |
instruction 'DynamicImport-Package', '*' | |
instruction 'Import-Package', | |
'!com.google.api.*', | |
'!com.google.inject.*', | |
'!net.sf.ehcache.*', | |
'!org.apache.commons.discovery.*', | |
'!org.apache.axiom.*', | |
'!org.apache.axis.*', | |
'!org.apache.html.*', | |
'!org.apache.http.*', | |
'!org.apache.solr.*', | |
'!org.apache.xerces.*', | |
'!org.cyberneko.*', | |
'!org.eclipse.*', | |
'!org.openid4java.*', | |
'!org.openxri.*', | |
'!org.springframework.*', | |
'!org.w3c.dom.*', | |
'!org.xml.sax.*', | |
'!javax.xml.rpc.*', | |
'org.json', | |
'*;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