Skip to content

Commit

Permalink
use java-11 for publishing gradle plugin; update tags
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-lapin committed Aug 13, 2022
1 parent 23fd5e4 commit 3e837bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_next_gradle_plugin_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- uses: actions/checkout@v2

#Run JDK configuration
- name: Set up JDK 9
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 9
java-version: 11

#Set up Gradle
- name: Set up Gradle
Expand Down
7 changes: 5 additions & 2 deletions plugins/gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ tasks.withType<JavaCompile> {
targetCompatibility = JavaVersion.VERSION_1_9.toString()
}

java { withJavadocJar() }
java {
withJavadocJar()
withSourcesJar()
}

tasks.named<Jar>("javadocJar") { from(tasks.named("dokkaJavadoc")) }

Expand All @@ -41,6 +44,6 @@ gradlePlugin {
pluginBundle {
website = "https://github.com/sergei-lapin/napt"
vcsUrl = "https://github.com/sergei-lapin/napt.git"
tags = listOf("kotlin", "java", "apt", "kapt", "gradle", "plugin")
tags = listOf("kotlin", "java", "apt", "kapt", "annotation-processing")
description = "Plugin that enables the work of NAPT javac plugin"
}

0 comments on commit 3e837bd

Please sign in to comment.