// dummy version rootProject.version = "2014.1.CONFIG" def headChangeProc = "bash ${project.file('gradle/headChange.sh')} ${project.file('build.gradle')}".execute(); headChangeProc.waitFor(); def releaseVersion = headChangeProc.in.text.trim(); rootProject.version = releaseVersion logger.warn("version:${rootProject.version}"); subprojects { apply plugin: 'eclipse' apply plugin: 'java' apply plugin: 'maven' // perforce internal builds have a slightly different set of dependencies than the open source builds // run with -Drelease=true to use the internal repo if (Boolean.getBoolean('release')) { apply from: rootProject.file('gradle/dev-repositories.gradle'); } else { logger.info("development build") apply from: rootProject.file('gradle/open-repositories.gradle'); rootProject.version = releaseVersion + "-dev" } group = "com.perforce.search" dependencies { testCompile "org.testng:testng:6.1.1" } configurations.all { resolutionStrategy.cacheChangingModulesFor 0, 'seconds' resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds' } // Works around an issue in gradle M6 (GRADLE-1984), which should be resolved in M7. eclipse.classpath.file.beforeMerged { classpath -> classpath.entries.clear() } } task wrapper(type:Wrapper) { gradleVersion='1.10' archiveBase = Wrapper.PathBase.PROJECT archivePath = './util/gradle-dists' distributionBase = Wrapper.PathBase.PROJECT distributionPath = './util/gradle-dists' distributionUrl = '../../util/gradle-1.10-bin.zip' } def projects = [project(':webapp')] task javadoc(type: Javadoc) { source projects.collect { project -> project.sourceSets.main.allJava } classpath = files( projects.collect { p -> p.sourceSets.main.compileClasspath } ) destinationDir = file('build/javadoc') }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 18494 | Paul Allen |
Fixed paths: search/search/... to search/... util/util/... to util/... Fixed permission bits +w for config and properties file that get touched during build/install Fixed INSTALL file and install dir (cause name clash on OS X) moved INSTALL to INSTALL.md |
||
//guest/perforce_software/p4search/main/search/search/build.gradle | |||||
#1 | 16193 | perforce_software | Move p4search to main directory to match new branching path scheme. | ||
//guest/perforce_software/p4search/search/build.gradle | |||||
#2 | 9007 | Doug Scheirer |
update workshop p4-search with the latest released code: * code updates - bug fixes * adding jetty + solr tarballs * script updates * updated p4java jar to latest release |
||
#1 | 8975 | Matt Attaway | Populate official version of p4-search from the original Doug Scheirer source |