2016-02-11 14:55:52 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: CanonicalizerPlugin
|
|
|
|
|
|
|
|
repositories {
|
2016-03-02 13:45:53 +00:00
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url 'http://oss.sonatype.org/content/repositories/snapshots'
|
|
|
|
}
|
2016-08-31 14:20:44 +00:00
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url 'https://dl.bintray.com/kotlin/exposed'
|
|
|
|
}
|
2016-02-11 14:55:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2016-02-16 14:10:51 +00:00
|
|
|
compile project(':core')
|
2016-05-19 09:25:18 +00:00
|
|
|
|
2016-08-30 12:50:02 +00:00
|
|
|
testCompile project(':test-utils')
|
2016-05-19 09:25:18 +00:00
|
|
|
testCompile 'junit:junit:4.12'
|
2016-07-21 12:55:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
test {
|
|
|
|
resources {
|
|
|
|
srcDir "../config/test"
|
|
|
|
}
|
|
|
|
}
|
2016-08-26 11:11:23 +00:00
|
|
|
}
|
2016-09-27 13:37:19 +00:00
|
|
|
|
|
|
|
task sourceJar(type: Jar, dependsOn: classes) {
|
|
|
|
classifier = 'sources'
|
|
|
|
from sourceSets.main.allSource
|
|
|
|
}
|
|
|
|
|
|
|
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
|
|
classifier = 'javadoc'
|
|
|
|
from javadoc.destinationDir
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
contracts(MavenPublication) {
|
|
|
|
from components.java
|
|
|
|
artifactId 'contracts'
|
|
|
|
|
|
|
|
artifact sourceJar
|
|
|
|
artifact javadocJar
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|