Skip to content

Commit

Permalink
Set module name explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Jul 22, 2023
1 parent d7dc3dd commit 2b2013e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ kotlin.target.compilations.configureEach {
val usedKotlinVersion = @Suppress("DEPRECATION") KotlinVersion.KOTLIN_1_3

compilerOptions.configure {
if (this@configureEach.name == "main") moduleName = "publish-plugin"
// Gradle fully supports running on Java 8: https://docs.gradle.org/current/userguide/compatibility.html,
// so we should allow users to do that too.
jvmTarget = JvmTarget.fromTarget(JavaVersion.VERSION_1_8.toString())
Expand Down

0 comments on commit 2b2013e

Please sign in to comment.