Skip to content

Commit

Permalink
Groovy to GradleDLS
Browse files Browse the repository at this point in the history
  • Loading branch information
TonimatasDEV committed Aug 10, 2023
1 parent 3ce6f90 commit 979cb07
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 40 deletions.
39 changes: 0 additions & 39 deletions build.gradle

This file was deleted.

32 changes: 32 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
plugins {
id("java")
}

val plugin_version: String by extra
val minecraft_version: String by extra

group = "net.tonimatasdev"
version = "${plugin_version}"

base {
archivesName = "PerWorldPlugins"
}

repositories {
mavenCentral()
maven(url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}

dependencies {
compileOnly("org.spigotmc:spigot-api:${minecraft_version}-R0.1-SNAPSHOT")
}

tasks.withType<ProcessResources> {
filesMatching("plugin.yml") {
expand("plugin_version" to plugin_version)
}
}

tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
1 change: 0 additions & 1 deletion settings.gradle

This file was deleted.

1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = "PerWorldPlugins"

0 comments on commit 979cb07

Please sign in to comment.