-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathbuild.gradle
More file actions
72 lines (62 loc) · 1.73 KB
/
build.gradle
File metadata and controls
72 lines (62 loc) · 1.73 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
configurations.all {
// check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
buildscript {
repositories {
mavenCentral()
maven {
url "http://oss.sonatype.org/content/repositories/snapshots"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.0"
}
}
allprojects {
apply plugin: "kotlin"
group = "org.jetbrains.kotlin"
version = "0.1-SNAPSHOT"
repositories {
mavenCentral()
maven {
url "http://repository.jetbrains.com/spek"
}
maven {
url "http://oss.sonatype.org/content/repositories/snapshots"
}
}
apply plugin: "maven"
dependencies {
compile 'joda-time:joda-time:2.3'
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: '1.0.0', changing: true
testCompile group: 'org.jetbrains.spek', name: 'spek', version: '0.1.195', changing: true
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
/*
uploadArchives {
repositories {
mavenDeployer {
repository(url: "http://repository.jetbrains.com/kotlin-nosql") {
authentication(userName: deploy_username, password: deploy_password)
}
pom.groupId = project.group
pom.artifactId = project.name
pom.version = project.version
}
}
}
*/
}
project(':kotlin-nosql-mongodb') {
dependencies {
compile project(':')
compile 'org.mongodb:mongo-java-driver:3.0.3'
}
}