Skip to content

Commit f12aa2f

Browse files
CopybaraRyanHecht
authored andcommitted
Project import generated by Copybara.
GitOrigin-RevId: 669e3a142a308172809c06da648510ca449b9f66
0 parents  commit f12aa2f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4046
-0
lines changed

.gitignore

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
# Created by https://www.gitignore.io/api/java,maven,windows,intellij
2+
3+
### Intellij ###
4+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
5+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
6+
7+
# User-specific stuff:
8+
.idea/**/workspace.xml
9+
.idea/**/tasks.xml
10+
.idea/dictionaries
11+
.idea/
12+
.idea/**/*
13+
/.idea/
14+
# Sensitive or high-churn files:
15+
.idea/**/dataSources/
16+
.idea/**/dataSources.ids
17+
.idea/**/dataSources.xml
18+
.idea/**/dataSources.local.xml
19+
.idea/**/sqlDataSources.xml
20+
.idea/**/dynamic.xml
21+
.idea/**/uiDesigner.xml
22+
23+
# Gradle:
24+
.idea/**/gradle.xml
25+
.idea/**/libraries
26+
27+
# CMake
28+
cmake-build-debug/
29+
30+
# Mongo Explorer plugin:
31+
.idea/**/mongoSettings.xml
32+
33+
## File-based project format:
34+
*.iws
35+
*.iml
36+
37+
## Plugin-specific files:
38+
39+
# IntelliJ
40+
/out/
41+
42+
# mpeltonen/sbt-idea plugin
43+
.idea_modules/
44+
45+
# JIRA plugin
46+
atlassian-ide-plugin.xml
47+
48+
# Cursive Clojure plugin
49+
.idea/replstate.xml
50+
51+
# Crashlytics plugin (for Android Studio and IntelliJ)
52+
com_crashlytics_export_strings.xml
53+
crashlytics.properties
54+
crashlytics-build.properties
55+
fabric.properties
56+
57+
### Intellij Patch ###
58+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
59+
60+
# *.iml
61+
# modules.xml
62+
# .idea/misc.xml
63+
# *.ipr
64+
65+
# Sonarlint plugin
66+
.idea/sonarlint
67+
68+
### Java ###
69+
# Compiled class file
70+
*.class
71+
72+
# Log file
73+
*.log
74+
75+
# BlueJ files
76+
*.ctxt
77+
78+
# Mobile Tools for Java (J2ME)
79+
.mtj.tmp/
80+
81+
# Package Files #
82+
*.jar
83+
*.war
84+
*.ear
85+
*.zip
86+
*.tar.gz
87+
*.rar
88+
89+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
90+
hs_err_pid*
91+
92+
### Maven ###
93+
target/
94+
pom.xml.tag
95+
pom.xml.releaseBackup
96+
pom.xml.versionsBackup
97+
pom.xml.next
98+
release.properties
99+
dependency-reduced-pom.xml
100+
buildNumber.properties
101+
.mvn/timing.properties
102+
103+
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
104+
!/.mvn/wrapper/maven-wrapper.jar
105+
106+
### Windows ###
107+
# Windows thumbnail cache files
108+
Thumbs.db
109+
ehthumbs.db
110+
ehthumbs_vista.db
111+
112+
# Folder config file
113+
Desktop.ini
114+
115+
# Recycle Bin used on file shares
116+
$RECYCLE.BIN/
117+
118+
# Windows Installer files
119+
*.cab
120+
*.msi
121+
*.msm
122+
*.msp
123+
124+
# Windows shortcuts
125+
*.lnk
126+
127+
# End of https://www.gitignore.io/api/java,maven,windows,intellij
128+
129+
/bin/
130+
.classpath
131+
/target/
132+
/.idea/
133+
/.settings/
134+
MCPAttractions.iml
135+
.project
136+
go
137+
bungeeStart
138+
spigotStart
139+
goBungee
140+
goSpigot
141+
dependency-reduced-pom.xml
142+
143+
/.gradle
144+
/build
145+
146+
.vscode/**/*

build.gradle

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
/*
2+
* This file was generated by the Gradle 'init' task.
3+
*/
4+
5+
plugins {
6+
id 'java'
7+
id 'maven-publish'
8+
9+
// git commit hash in version
10+
id 'com.palantir.git-version' version "0.12.3"
11+
12+
id "com.github.johnrengelman.shadow" version "8.0.0"
13+
}
14+
15+
shadowJar {
16+
relocate 'cloud.commandframework', 'us.mcparks.showscript.cloud.commandframework'
17+
}
18+
19+
sourceSets {
20+
main {
21+
java {
22+
srcDirs "src"
23+
}
24+
resources {
25+
srcDirs "res"
26+
}
27+
}
28+
}
29+
30+
processResources {
31+
filesMatching('**/plugin.yml') {
32+
filter {
33+
it.replace('@version@', version)
34+
}
35+
}
36+
}
37+
38+
repositories {
39+
mavenLocal()
40+
41+
maven {
42+
url = uri('https://repo.maven.apache.org/maven2/')
43+
}
44+
45+
// worldguard
46+
maven {
47+
url = uri('https://maven.enginehub.org/repo/')
48+
}
49+
50+
// spigot
51+
maven {
52+
url = uri('https://hub.spigotmc.org/nexus/content/repositories/snapshots/')
53+
}
54+
55+
}
56+
57+
dependencies {
58+
compileOnly 'com.google.guava:guava:21.0'
59+
compileOnly 'org.spigotmc:spigot-api:1.12-R0.1-SNAPSHOT'
60+
compileOnly 'org.bukkit:bukkit:1.12-R0.1-SNAPSHOT'
61+
compileOnly 'com.sk89q.worldedit:worldedit-bukkit:6.1.4-SNAPSHOT'
62+
compileOnly 'com.sk89q.worldguard:worldguard-legacy:6.2'
63+
compileOnly 'org.codehaus.groovy:groovy-all:3.0.12'
64+
implementation 'cloud.commandframework:cloud-paper:1.8.3'
65+
implementation 'cloud.commandframework:cloud-annotations:1.8.3'
66+
implementation 'cloud.commandframework:cloud-minecraft-extras:1.8.3'
67+
implementation "net.kyori:adventure-platform-bukkit:4.3.0"
68+
implementation "commons-io:commons-io:2.16.1"
69+
70+
}
71+
72+
group = 'us.mcparks'
73+
version = '1.12-1-' + gitVersion()
74+
description = 'ShowScript'
75+
java.sourceCompatibility = JavaVersion.VERSION_1_8
76+
archivesBaseName = 'ShowScript'
77+
jar.archiveFileName = "ShowScript.jar"
78+
shadowJar.archiveFileName = "ShowScript-all.jar"
79+
80+
81+
publishing {
82+
publications {
83+
maven(MavenPublication) {
84+
from(components.java)
85+
}
86+
}
87+
repositories {
88+
maven {
89+
url = uri('https://repo.maven.apache.org/maven2/')
90+
}
91+
}
92+
}

gradle/wrapper/gradle-wrapper.jar

60.2 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
4+
networkTimeout=10000
5+
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)