mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-24 14:58:13 +08:00
bbcd48b2ad
The value should be the same, but the reference name was incorrect.
24 lines
503 B
Groovy
24 lines
503 B
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'java'
|
|
|
|
sourceCompatibility = versions.sourceCompat
|
|
targetCompatibility = versions.targetCompat
|
|
|
|
dependencies {
|
|
implementation 'com.squareup:javapoet:1.13.0'
|
|
}
|
|
|
|
task javadocJar(type: Jar, dependsOn: 'javadoc') {
|
|
from javadoc.destinationDir
|
|
archiveClassifier = 'javadoc'
|
|
}
|
|
task sourcesJar(type: Jar, dependsOn: 'classes') {
|
|
from sourceSets.main.allSource
|
|
archiveClassifier = 'sources'
|
|
}
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
|