Skip to content

Commit 91946de

Browse files
authored
Update build.gradle
1 parent 92fa56a commit 91946de

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

build.gradle

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
plugins {
22
id 'java'
33
id 'xyz.jpenilla.run-paper' version '2.1.0'
4+
id 'io.papermc.paperweight.userdev' version '1.5.3'
45
id 'com.github.breadmoirai.github-release' version '2.4.1'
5-
id 'maven-publish'
66
}
77

88
group = 'simpleclient-api'
99
version = '0.0.2'
1010

1111
repositories {
12-
mavenCentral()
1312
maven { url = "https://repo.papermc.io/repository/maven-public/" }
14-
maven { url = "https://oss.sonatype.org/content/groups/public/" }
1513
}
1614

1715
dependencies {
18-
compileOnly 'io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT'
16+
paperweight.paperDevBundle '1.19.4-R0.1-SNAPSHOT'
1917
}
2018

2119
processResources {
@@ -26,7 +24,7 @@ processResources {
2624

2725
tasks {
2826
runServer {
29-
minecraftVersion '1.20.1'
27+
minecraftVersion '1.19.4'
3028
}
3129
}
3230

@@ -52,21 +50,3 @@ githubRelease {
5250
apiEndpoint 'https://api.github.com'
5351
client
5452
}
55-
56-
publishing {
57-
repositories {
58-
maven {
59-
name = 'GitHubPackages'
60-
url = 'https://maven.pkg.github.com/SimpleClientDevelopment/SimpleClientAPI'
61-
credentials {
62-
username = 'FabiPunktExe'
63-
password = System.getenv('GITHUB_TOKEN')
64-
}
65-
}
66-
}
67-
publications {
68-
gpr(MavenPublication) {
69-
from components.java
70-
}
71-
}
72-
}

0 commit comments

Comments
 (0)