// This project actually depends upon the p4oauth project having been completely // built and assembled. task wrapper(type: Wrapper) { gradleVersion = '1.11' } // Any plugin definitions should be set up and cached via artifactory. buildscript { repositories { jcenter() // This is a local cache maven { url 'http://artifactory.bnr.perforce.com/artifactory/repos-p4oauth' } mavenLocal() } dependencies { classpath('commons-lang:commons-lang:2.6') classpath("com.perforce.workshop.tjuricek:perforce-gradle-plugin:0.1.2") classpath("com.perforce.workshop.tjuricek:initializer-gradle-plugin:0.1.1") } } apply plugin: 'java' apply plugin: 'perforce' apply plugin: 'perforce-initializer' repositories { maven { url 'http://artifactory.bnr.perforce.com/artifactory/repos-p4oauth' } } sourceCompatibility = 1.8
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9249 | tjuricek |
Added test p4d setup, and reorganized some core code. I've decided to not use InterfaceBuilder in this project, because I don't like that the .xib files are not very easy to merge, and the object lifetimes are a bit more difficult to trace. The DocHubController will operate as the app delegate, and will create views manually. Using the gradle toolchain to setup p4d. To use, execute: ./gradlew startPerforce ./gradlew initPerforce # only needed the first time This creates the p4d that uses build/perforce/work |