Skip to content

Instantly share code, notes, and snippets.

@melastmohican
Created October 19, 2017 05:58
Show Gist options
  • Select an option

  • Save melastmohican/ef3f6ba62b22cdc79feb37f39023be8a to your computer and use it in GitHub Desktop.

Select an option

Save melastmohican/ef3f6ba62b22cdc79feb37f39023be8a to your computer and use it in GitHub Desktop.

Revisions

  1. melastmohican created this gist Oct 19, 2017.
    31 changes: 31 additions & 0 deletions build.gradle
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    apply plugin: 'java'

    sourceCompatibility = 1.7
    targetCompatibility = 1.7

    repositories {
    jcenter()
    mavenCentral()
    maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
    }
    dependencies {
    compile group: 'org.slf4j', name: 'slf4j-api', version:'1.7.22'
    compile group: 'ch.qos.logback', name: 'logback-classic', version:'1.1.9'
    compile group: 'log4j', name: 'log4j', version:'1.2.17'
    compile group: 'com.google.guava', name: 'guava', version:'21.0'
    testCompile group: 'junit', name: 'junit', version:'4.12'
    testCompile group: 'org.assertj', name: 'assertj-core', version:'2.5.0'
    testCompile group: 'org.mockito', name: 'mockito-core', version:'1.10.19'
    testCompile group: 'org.powermock', name: 'powermock-api-mockito', version:'1.6.6'
    testCompile group: 'org.powermock', name: 'powermock-module-junit4', version:'1.6.6'
    testCompile group: 'org.apache.commons', name: 'commons-exec', version:'1.3'
    }

    task patchJar(type: Jar) {
    archiveName = "a-patch.jar"
    from(sourceSets.main.output) {
    include "com/thebuzzmedia/exiftool/core/StandardFormat.class"
    include "com/thebuzzmedia/exiftool/core/StandardTag.class"
    }
    }