apply plugin: 'java' apply plugin: 'eclipse' sourceCompatibility = 1.8 targetCompatibility = 1.8 repositories { mavenCentral() } jar { baseName = 'LocalPlugin' version = '0.1.0' manifest { attributes 'Plugin-Class' : 'com.perforce.hive.plugin.local.LocalPlugin', 'Plugin-Id' : 'LocalPlugin', 'Plugin-Version' : '0.1.0', 'Plugin-Provider' : 'Paul Allen' } } task plugin(type: Jar) { baseName = 'LocalPlugin' 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 | |
---|---|---|---|---|---|
#5 | 16595 | Paul Allen | Update ro.fortsoft.pf4j to 0.11.0 (and minor fixes) | ||
#4 | 16101 | Paul Allen | Moved Maven into a plugin and fix GSON decoding. | ||
#3 | 16087 | Paul Allen |
Plugin Support Hive now uses PF4J to allow different artifact plugins. (only supports generic, lots more work to do) |
||
#2 | 16064 | Paul Allen | Plugin updates (Loader - static and Builder dynamic). | ||
#1 | 16048 | Paul Allen |
PF4J plugin basics with Gradle https://github.com/decebals/pf4j cd plugins/generic/ gradle clean plugin copy build/lib/*.zip to core/plugins |