This repository has been archived on 2021-02-16. You can view files and clone it, but cannot push or open issues or pull requests.
vn-sales/vernareparto/domain/build.gradle

46 lines
1.1 KiB
Groovy
Raw Normal View History

2018-12-19 09:02:49 +00:00
apply plugin: 'kotlin'
apply plugin: 'java'
apply plugin: 'kotlin-allopen'
allOpen {
annotation("es.verdnatura.vnsplits.domain.TestOpen")
}
configurations {
provided
}
sourceSets {
main.java.srcDirs += "src/main/kotlin"
test.java.srcDirs += 'src/test/kotlin'
main{
compileClasspath += configurations.provided
}
}
dependencies {
def domainDependencies = rootProject.ext.domainDependencies
def domainTestDependencies = rootProject.ext.domainTestDependencies
compile domainDependencies.rxJava
compile domainDependencies.javaxInject
compile domainDependencies.kotlin
compile domainDependencies.okio
testCompile domainTestDependencies.jUnit
testCompile domainTestDependencies.kotlin
testCompile domainTestDependencies.kotlinTest
testCompile domainTestDependencies.mockitoKotlin
testCompile domainTestDependencies.kluent
testCompile domainTestDependencies.assertj
provided domainDependencies.javaxAnnotation
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.squareup.okio:okio:1.11.0'
}
repositories {
mavenCentral()
}