Guest User

Untitled

a guest
Sep 7th, 2023
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. plugins {
  2. `maven-publish`
  3. id("io.freefair.lombok") version "8.0.1" apply false
  4.  
  5. id("io.papermc.paperweight.userdev") version "1.5.5" apply false
  6. id("xyz.jpenilla.run-paper") version "2.1.0"
  7. }
  8.  
  9. allprojects {
  10. group = "me.shurikennen.hopperlevels"
  11. version = "1.0.0-SNAPSHOT"
  12.  
  13. apply {
  14. plugin("maven-publish")
  15. }
  16. }
  17.  
  18. subprojects {
  19. apply {
  20. plugin("java-library")
  21. plugin("io.freefair.lombok")
  22. plugin("io.papermc.paperweight.userdev")
  23. }
  24.  
  25. repositories {
  26. mavenLocal()
  27. mavenCentral()
  28. }
  29.  
  30. publishing {
  31. publications {
  32. repositories {
  33. // Use `gradle publishMavenPublicationToMavenLocal` to install it into your local .m2 folder
  34. mavenLocal()
  35. }
  36. }
  37. }
  38.  
  39. tasks.withType<JavaCompile> {
  40. options.encoding = "UTF-8"
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment