Skip to content

Commit 71cbc2f

Browse files
committed
init
0 parents  commit 71cbc2f

File tree

12 files changed

+470
-0
lines changed

12 files changed

+470
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.idea/
2+
/build/
3+
/.gradle/

build.gradle

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
group = 'org.justc2t'
6+
version = '1.0-SNAPSHOT'
7+
8+
repositories {
9+
mavenCentral()
10+
maven {
11+
name = "papermc-repo"
12+
url = "https://repo.papermc.io/repository/maven-public/"
13+
}
14+
maven {
15+
name "pulsemcSnapshots"
16+
url "https://maven.pulsemc.dev/snapshots"
17+
}
18+
}
19+
20+
dependencies {
21+
implementation "dev.pulsemc.pulse:pulse-api:1.21.11-R0.1-SNAPSHOT" // PulseAPI registration
22+
}
23+
24+
def targetJavaVersion = 21
25+
java {
26+
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
27+
sourceCompatibility = javaVersion
28+
targetCompatibility = javaVersion
29+
if (JavaVersion.current() < javaVersion) {
30+
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
31+
}
32+
}
33+
34+
tasks.withType(JavaCompile).configureEach {
35+
options.encoding = 'UTF-8'
36+
37+
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
38+
options.release.set(targetJavaVersion)
39+
}
40+
}
41+
42+
processResources {
43+
def props = [version: version]
44+
inputs.properties props
45+
filteringCharset 'UTF-8'
46+
filesMatching('plugin.yml') {
47+
expand props
48+
}
49+
}

gradle.properties

Whitespace-only changes.

gradle/wrapper/gradle-wrapper.jar

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

gradlew

Lines changed: 249 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)