/** * Copyright (C) 2015 Perforce Software. All rights reserved. * * Please see README-LICENSE.txt in top-level folder of this distribution. */ apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' project.ext.ver = project.hasProperty('ver') ? project.ext.ver : 'ENGINEERING.BUILD' version = project.ext.ver sourceCompatibility = 1.8 targetCompatibility = 1.8 repositories { mavenCentral() } dependencies { compile 'com.sparkjava:spark-core:2.2' compile 'com.sparkjava:spark-template-freemarker:2.0.0' compile 'com.sparkjava:spark-template-mustache:1.0.0' compile 'com.perforce:p4java:2014.1.965322' compile 'commons-fileupload:commons-fileupload:1.3.1' compile 'org.slf4j:slf4j-api:1.7.12' compile 'org.slf4j:slf4j-log4j12:1.7.12' compile 'com.google.code.gson:gson:2.3.1' } jar { archiveName = baseName + '.jar' manifest { attributes 'Main-Class': 'com.perforce.spark.Main', 'Class-Path': '.', 'Specification-Title': 'P4M', 'Specification-Version': version, 'Specification-Vendor': 'Perforce Software', 'Implementation-Title': archiveName, 'Implementation-Version': version, 'Implementation-Vendor': 'Perforce Software' } from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 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 |
||
#4 | 15998 | Paul Allen |
Refactor for plugin design. Moving main code to 'core'. |
||
#3 | 15928 | Matt Attaway | Final pull of source from @pallen's dev branch | ||
#2 | 15927 | Matt Attaway | Incremental pull of Hive to reserve renaming history cleanly | ||
#1 | 15923 | Matt Attaway | Next incremental pull of PAM (Java people love to refactor) | ||
//guest/paul_allen/p4am/build.gradle | |||||
#2 | 14181 | Paul Allen | Lots of updates and refactoring. | ||
#1 | 14048 | Paul Allen | Convert to Gradle with FatJar and updated splash screen. |