2023-06-23 17:58:51 +02:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
2023-06-23 22:58:28 +02:00
|
|
|
sourceCompatibility = versions.sourceCompat
|
|
|
|
targetCompatibility = versions.sourceCompat
|
2023-06-23 17:58:51 +02:00
|
|
|
|
|
|
|
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'
|
|
|
|
}
|
|
|
|
|