apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
jar {
baseName = 'GemPlugin'
version = '0.1.0'
manifest {
attributes 'Plugin-Class' : 'com.perforce.hive.plugin.gem.GemPlugin',
'Plugin-Id' : 'GemPlugin',
'Plugin-Version' : '0.1.0',
'Plugin-Provider' : 'Paul Allen'
}
}
task plugin(type: Jar) {
baseName = 'GemPlugin'
version = '0.1.0'
into('classes')
extension('zip')
with jar
}
dependencies {
compile project(':api')
compile project(':core')
compile 'ro.fortsoft.pf4j:pf4j:0.11.0'
compile 'com.sparkjava:spark-core:2.2'
compile 'com.sparkjava:spark-template-freemarker:2.0.0'
compile 'org.slf4j:slf4j-api:1.7.12'
compile 'org.slf4j:slf4j-log4j12:1.7.12'
}