-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (39 loc) · 1.47 KB
/
build.gradle
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
plugins {
id 'java'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
}
allprojects {
group = 'com.yuebaix'
version = '0.0.2-SNAPSHOT'
}
subprojects { p -> {
repositories {
//mavenLocal()
//maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
//maven { url 'https://s01.oss.sonatype.org/content/groups/staging/' }
//maven { url 'https://s01.oss.sonatype.org/content/repositories/releases/' }
//mavenCentral()
maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
}
//apply from: "${rootDir}/oss-publish.gradle"
if (p != project(':pangu-coroutine')) {
apply from: "${rootDir}/pangu-ready-spring-boot-starter/integrate/pangu-ready-denpendencies.gradle"
}
apply plugin: 'java'
jar {
afterEvaluate {
manifest {
attributes 'Implementation-Title': archiveBaseName
attributes 'Implementation-Version': archiveVersion
attributes 'Built-Gradle': gradle.gradleVersion
attributes 'Bundle-DocURL': 'https://docs.yuebaix.com/docs/pangu/'
attributes 'Build-OS': System.getProperty("os.name")
attributes 'Build-Jdk': System.getProperty("java.version")
attributes 'Build-Timestamp': LocalDateTime.now().format("yyyy-MM-dd HH:mm:ss")
}
}
}
}}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}