apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
jar {
baseName = 'MavenPlugin'
version = '0.1.0'
manifest {
attributes 'Plugin-Class' : 'com.perforce.hive.plugin.maven.MavenPlugin',
'Plugin-Id' : 'MavenPlugin',
'Plugin-Version' : '0.1.0',
'Plugin-Provider' : 'Paul Allen'
}
}
task plugin(type: Jar) {
baseName = 'MavenPlugin'
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'
}
# |
Change |
User |
Description |
Committed |
|
#2
|
16595 |
Paul Allen |
Update ro.fortsoft.pf4j to 0.11.0 (and minor fixes) |
|
|
#1
|
16101 |
Paul Allen |
Moved Maven into a plugin and fix GSON decoding. |
|
|