Commits

Micha Kops  committed f5a2c4d

Gradle descriptor added.

  • Participants
  • Parent commits 221e443

Comments (0)

Files changed (1)

File build.gradle

+apply plugin: 'java'
+apply plugin: 'maven'
+
+group = 'com.hascode.tutorial'
+version = '0.0.1'
+
+repositories {
+    mavenCentral()
+}
+
+configurations {
+    provided
+    testCompile.extendsFrom provided
+    compile.transitive = true
+}
+
+dependencies {
+    compile(
+        [group: 'javax.mail', name : 'mail', version : '1.4.5'],
+        [group: 'org.slf4j', name : 'slf4j-api', version : '1.6.6'],
+        [group: 'ch.qos.logback', name : 'logback-core', version : '1.0.6']
+    )
+
+
+    testCompile(
+        [group: 'com.icegreen', name : 'greenmail', version : '1.3'],
+        [group: 'junit', name : 'junit', version : '4.10'],
+        [group: 'org.hamcrest', name : 'hamcrest-all', version : '1.1']
+    )
+}
+
+sourceSets.main.compileClasspath += configurations.provided