Skip to content

Commit

Permalink
Merge pull request #6 from Syrent/development
Browse files Browse the repository at this point in the history
Exclude kotlin metadata
  • Loading branch information
Syrent authored Oct 30, 2022
2 parents 13afff6 + 31b376d commit 07b582c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,20 @@ processResources {
shadowJar {
minimize()

manifest {
attributes["Main-Class"] = 'ir.syrent.velocityvanish.VelocityVanish'
}

relocate('me.mohamad82.ruom', 'ir.syrent.velocityvanish.ruom')
relocate('com.cryptomorin.xseries', 'ir.syrent.velocityvanish.xseries')
relocate('net.kyori.adventure', 'ir.syrent.velocityvanish.kyori.adventure')
relocate('org.bstats', 'ir.syrent.velocityvanish.bstats')

// @see https://youtrack.jetbrains.com/issue/KT-25709
exclude '**/*.kotlin_metadata'
exclude '**/*.kotlin_module'
exclude '**/*.kotlin_builtins'

archiveFileName = findProperty("plugin-name") + " v" + findProperty("version") + ".jar"
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=3.0.0
version=3.0.1
plugin-name=VelocityVanish

0 comments on commit 07b582c

Please sign in to comment.