-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (46 loc) · 1.27 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
apply plugin: 'kotlin'
configurations {
ideaAPI
libs
compile.extendsFrom ideaAPI, libs
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
test.java.srcDirs += 'src/test/kotlin'
}
sourceCompatibility = JavaVersion.VERSION_1_7
version = '0.1'
repositories {
mavenCentral()
}
dependencies {
libs 'org.apache.james:apache-mime4j-dom:0.7.2'
libs 'org.apache.mina:mina-core:2.0.7'
libs 'javax.mail:mail:1.4.7'
libs 'org.slf4j:slf4j-api:1.7.5'
libs "org.jetbrains.kotlin:kotlin-stdlib:$ext.kotlin_version"
libs files('lib/subethasmtp_authpatch_gwc-3.1.7.1.jar')
ideaAPI files('lib/openapi.jar')
ideaAPI files('lib/annotations.jar')
ideaAPI files('lib/util.jar')
ideaAPI files('lib/extensions.jar')
ideaAPI files('lib/trove4j.jar')
testCompile 'junit:junit:4.11'
testCompile 'org.mockito:mockito-all:1.9.5'
}
buildscript {
ext.kotlin_version = '0.6.1910'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$ext.kotlin_version"
}
}
task dist(dependsOn: [jar, check], type: Zip) {
into('intellij-mail/lib') {
from jar.outputs.files, configurations.libs
}
archiveName = 'intellij-mail.zip'
destinationDir buildDir
}