-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
91 lines (82 loc) · 2.62 KB
/
build.gradle
File metadata and controls
91 lines (82 loc) · 2.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*
* This file was generated by the Gradle "init" task.
*/
plugins {
id ("java")
id ("maven-publish")
id ("signing")
}
java {
withSourcesJar()
withJavadocJar()
}
repositories {
mavenLocal()
maven {
url = uri("https://papermc.io/repo/repository/maven-public/")
}
maven {
url = uri("https://oss.sonatype.org/content/groups/public/")
}
maven {
url = uri("https://repo.maven.apache.org/maven2/")
}
mavenCentral()
}
dependencies {
compileOnly ("io.papermc.paper:paper-api:1.18.1-R0.1-SNAPSHOT")
}
group = ("io.github.simplex")
version = ("1.0.0")
description = ("SimplexCL")
java.sourceCompatibility = JavaVersion.VERSION_17
// Because the components are created only during the afterEvaluate phase, you must
// configure your publications using the afterEvaluate() lifecycle method.
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.java
groupId = 'io.github.simplexdevelopment'
artifactId = 'SimplexCL'
version = '1.0.0'
pom {
signing {
sign publishing.publications.release
sign configurations.archives
}
name = 'SimplexCL'
description = 'A better alternative to Paper\'s Command Loader'
url = 'https://simplexdev.app'
licenses {
license {
name = 'MIT License'
url = 'https://opensource.org/licenses/MIT'
}
}
developers {
developer {
id = 'SimplexDevelopment'
name = 'Simplex Development Group'
email = 'reillypaul195@gmail.com'
}
}
scm {
connection = 'scm:git:git://github.com/SimplexDevelopment/SimplexCL.git'
developerConnection = 'scm:git:ssh://github.com/SimplexDevelopment/SimplexCL.git'
url = 'https://github.com/SimplexDevelopment/SimplexCL'
}
}
}
}
repositories {
maven {
url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = ''
password = ''
}
}
}
}
}