view build.gradle @ 279:86d44dd80b1c

add DifferenceListTree test fix
author tatsuki
date Mon, 19 Dec 2016 22:10:14 +0900
parents 0e8172bc9d6c
children b606b727dc2b
line wrap: on
line source

apply plugin: "java"
apply plugin: 'maven'


sourceCompatibility = 1.8
targetCompatibility = 1.8
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
version = '1.0'
group = 'cr.ie.u_ryukyu.ac.jp'

repositories {
  mavenCentral()
    maven { url "http://eaio.com/maven2" }
    maven { url "http://repo.maven.apache.org/maven2" }
    maven { url "http://www.cr.ie.u-ryukyu.ac.jp/hg/maven/raw-file/e6b119647469/"}
}

dependencies {
    compile "commons-collections:commons-collections:3.2.1"
    compile "org.apache.maven.surefire:surefire-junit4:2.13"
    compile "com.google.guava:guava:12.0"
    compile fileTree(dir: 'lib', include: '*.jar')
    compile group: 'junit', name: 'junit', version: '4.11'
    compile group: 'org.msgpack', name: 'msgpack', version: '0.6.12'
    compile group: 'cr.ie.u_ryukyu.ac.jp', name: 'Alice', version: '1.1', ext: 'jar'
}

jar {
  manifest {
    attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
  }
  from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
  archiveName = 'jungle-core.jar'
}

ext {
  mavenRepository = System.getenv()['HTML']+'/maven'
}


uploadArchives {
  repositories {
    mavenDeployer {
      repository(url: uri(mavenRepository))
    }
  }
}