mirror of
https://github.com/Shiewk/SModeration.git
synced 2026-04-28 05:54:16 +02:00
Move SModeration for Paper to root project
This commit is contained in:
+27
-11
@@ -5,18 +5,34 @@ plugins {
|
|||||||
group = 'de.shiewk'
|
group = 'de.shiewk'
|
||||||
version = pluginVersion
|
version = pluginVersion
|
||||||
|
|
||||||
subprojects {
|
repositories {
|
||||||
repositories {
|
mavenCentral()
|
||||||
mavenCentral()
|
maven {
|
||||||
maven {
|
name = "papermc-repo"
|
||||||
name = "papermc-repo"
|
url = "https://repo.papermc.io/repository/maven-public/"
|
||||||
url = "https://repo.papermc.io/repository/maven-public/"
|
|
||||||
}
|
|
||||||
maven {
|
|
||||||
name = "sonatype"
|
|
||||||
url = "https://oss.sonatype.org/content/groups/public/"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
maven {
|
||||||
|
name = "sonatype"
|
||||||
|
url = "https://oss.sonatype.org/content/groups/public/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
processResources {
|
||||||
|
def props = [version: version]
|
||||||
|
inputs.properties props
|
||||||
|
filteringCharset 'UTF-8'
|
||||||
|
filesMatching('plugin.yml') {
|
||||||
|
expand props
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compileOnly "io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT"
|
||||||
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
archiveBaseName.set('SModeration-Paper')
|
||||||
|
archiveVersion.set(pluginVersion)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
rootProject.name = 'SModeration'
|
rootProject.name = 'SModeration'
|
||||||
include 'smoderation-paper'
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
apply plugin: 'java'
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
compileOnly "io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT"
|
|
||||||
}
|
|
||||||
|
|
||||||
jar {
|
|
||||||
archiveBaseName.set('SModeration-Paper')
|
|
||||||
archiveVersion.set(pluginVersion)
|
|
||||||
}
|
|
||||||
|
|
||||||
processResources {
|
|
||||||
def props = [version: version]
|
|
||||||
inputs.properties props
|
|
||||||
filteringCharset 'UTF-8'
|
|
||||||
filesMatching('plugin.yml') {
|
|
||||||
expand props
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
name: SModeration
|
name: SModeration
|
||||||
version: '1.4.2'
|
version: '${version}'
|
||||||
main: de.shiewk.smoderation.paper.SModerationPaper
|
main: de.shiewk.smoderation.paper.SModerationPaper
|
||||||
api-version: '1.20'
|
api-version: '1.20'
|
||||||
load: STARTUP
|
load: STARTUP
|
||||||
Reference in New Issue
Block a user