mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-22 14:38:15 +08:00
19500a8cd9
Use fully qualified R classes Fix or ignore deprecation Update github actions and ensure JDK 17 is used Add group for paparazzi Fixes Lint issues Fix Jacoco configuration
24 lines
503 B
Groovy
24 lines
503 B
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'java'
|
|
|
|
sourceCompatibility = versions.sourceCompat
|
|
targetCompatibility = versions.sourceCompat
|
|
|
|
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'
|
|
}
|
|
|