mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-28 15:38:14 +08:00
24 lines
457 B
Groovy
24 lines
457 B
Groovy
|
apply plugin: 'kotlin'
|
||
|
apply plugin: 'java'
|
||
|
|
||
|
sourceCompatibility = '1.7'
|
||
|
targetCompatibility = '1.7'
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'com.squareup:javapoet:1.13.0'
|
||
|
}
|
||
|
|
||
|
task javadocJar(type: Jar, dependsOn: 'javadoc') {
|
||
|
from javadoc.destinationDir
|
||
|
classifier = 'javadoc'
|
||
|
}
|
||
|
task sourcesJar(type: Jar, dependsOn: 'classes') {
|
||
|
from sourceSets.main.allSource
|
||
|
classifier = 'sources'
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
|
main.java.srcDirs += 'src/main/kotlin'
|
||
|
}
|
||
|
|