forked from Mufasa-SDK/SDKRepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (49 loc) · 1.08 KB
/
build.gradle
File metadata and controls
57 lines (49 loc) · 1.08 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
plugins {
id 'java'
id 'maven-publish'
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
group 'com.github.Mufasa-SDK' // Change this to your GitHub username and repository
version '1.2.91'
repositories {
mavenCentral()
maven { url "https://repo1.maven.org/maven2" }
maven { url 'https://jitpack.io' }
google()
}
dependencies {
// None
}
compileJava {
options.debug = true
options.compilerArgs += ['-g', '-parameters']
}
tasks.register('generateJavaDoc', Javadoc) {
source = sourceSets.main.java.srcDirs
classpath = configurations.compileClasspath
destinationDir = file("docs")
options.memberLevel = JavadocMemberLevel.PRIVATE
options.author = true
options.version = true
}
jar {
archiveBaseName = 'ScriptSDK'
archiveVersion = '1.0.0'
manifest {
attributes(
'Manifest-Version': '1.0',
'Created-By': 'Mufasa'
)
}
}