diff --git a/vgo/build.gradle.kts b/vgo/build.gradle.kts index c9131493..74a8b898 100644 --- a/vgo/build.gradle.kts +++ b/vgo/build.gradle.kts @@ -176,11 +176,15 @@ tasks { } val sourcesJar by creating(Jar::class) { + dependsOn(generateConstants) + archiveClassifier.set("sources") from(sourceSets["main"].allSource) } val javadocJar by creating(Jar::class) { + dependsOn(generateConstants) + archiveClassifier.set("javadoc") from(this@tasks["javadoc"]) }