| /* |
| * This file was generated by the Gradle 'init' task. |
| */ |
| |
| allprojects { |
| group = 'org.apache.james' |
| version = '3.6.0-SNAPSHOT' |
| } |
| |
| subprojects { |
| apply plugin: 'java' |
| apply plugin: 'maven-publish' |
| |
| repositories { |
| jcenter() |
| mavenCentral() |
| maven { |
| url = uri('https://repository.apache.org/snapshots') |
| } |
| } |
| |
| sourceCompatibility = '11' |
| targetCompatibility = '11' |
| |
| configurations.all { |
| // Guice depends on guava:*-android version that does not contain Streams class -> fails tests |
| resolutionStrategy.force 'com.google.guava:guava:25.1-jre' |
| } |
| |
| java { |
| withSourcesJar() |
| } |
| |
| publishing { |
| publications { |
| maven(MavenPublication) { |
| from(components.java) |
| } |
| } |
| } |
| |
| tasks.withType(JavaCompile) { |
| options.encoding = 'UTF-8' |
| } |
| } |