-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (46 loc) · 1.5 KB
/
build.gradle
File metadata and controls
54 lines (46 loc) · 1.5 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
plugins {
id 'java-library'
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
}
java {
// SDK는 Java 8부터 지원 (최신 JDK로 빌드 가능)
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
// Java 8 타겟 관련 경고 억제 (최신 JDK 빌드 시)
tasks.withType(JavaCompile).configureEach {
options.compilerArgs += ['-Xlint:-options']
}
apply plugin: 'io.github.gradle-nexus.publish-plugin'
apply from: "${rootDir}/scripts/publish-root.gradle"
apply from: 'publish.gradle'
//maven {
// credentials {
// username = findProperty("ossrhToken") as String
// password = findProperty("ossrhTokenPassword") as String
// }
//}
//task clean(type: Delete) {
// delete rootProject.buildDir
//}
//repositories {
// mavenCentral()
//}
//
//dependencies {
// testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
// testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
//
// implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13'
// implementation group: 'com.google.code.gson', name: 'gson', version: '2.9.0'
// implementation group: 'commons-io', name: 'commons-io', version: '2.11.0'
//}
//
//test {
// useJUnitPlatform()
//}
//group='com.github.bootpay'
//apply from: "${rootDir}/scripts/publish-module.gradle"
//apply plugin: 'io.github.gradle-nexus.publish-plugin'
//apply from: "${rootDir}/scripts/publish-root.gradle"
//apply from: 'publish.gradle'