ext.title = 'Xtext Runtime Bundle'
description = 'Core component of Xtext.'

dependencies {
	api project(':org.eclipse.xtext.util')
	api "org.eclipse.xtend:org.eclipse.xtend.lib:$versions.xtext"
	api 'ch.qos.reload4j:reload4j'
	api 'org.eclipse.platform:org.eclipse.equinox.common'
	// remove me, once the following is fixed : https://bugs.eclipse.org/bugs/show_bug.cgi?id=510504
	api 'org.eclipse.platform:org.eclipse.osgi'
	api 'org.eclipse.emf:org.eclipse.emf.ecore'
	api 'org.eclipse.emf:org.eclipse.emf.ecore.xmi'
	api 'org.eclipse.emf:org.eclipse.emf.common'
	api 'com.google.inject:guice'
	api 'org.antlr:antlr-runtime'
	optional 'org.eclipse.platform:org.eclipse.core.runtime'
	optional 'org.eclipse.platform:org.eclipse.equinox.registry'
	optional 'org.eclipse.emf:org.eclipse.emf.mwe.utils'
	optional 'org.eclipse.xpand:org.eclipse.xtend'
	optional 'org.eclipse.xpand:org.eclipse.xtend.typesystem.emf'
	optional 'org.ow2.asm:asm'
}

sourceSets.main {
	java.srcDir 'packrat'
}

jar {
	from('.') {
		include 'org/**', 'xtext32.png'
	}
}
