-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (59 loc) · 2.1 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
configure(subprojects) { subprojects ->
apply plugin: 'java-library'
version = '0.0.5'
group = 'com.luamas'
ext{
gradleScriptDir = "${rootProject.projectDir}/gradle"
springFrameworkVersion = '5.3.24'
springBootVersion = '2.7.7'
awsVersion = '1.12.379'
POM_PACKAGING='jar'
POM_DESCRIPTION='aws-spring-boot-starter'
POM_URL="https://git.luamas.com/luamas/aws-spring-boot-starter"
POM_SCM_URL='https://git.luamas.com/luamas/aws-spring-boot-starter'
POM_SCM_CONNECTION='scm:git:https://git.luamas.com/luamas/aws-spring-boot-starter'
POM_SCM_DEV_CONNECTION='scm:git:https://git.luamas.com/luamas/aws-spring-boot-starter'
POM_LICENCE_NAME='The Apache License, Version 2.0'
POM_LICENCE_URL='http://www.apache.org/licenses/LICENSE-2.0.txt'
POM_LICENCE_DIST='repo'
POM_DEVELOPER_ID='luamas'
POM_DEVELOPER_NAME='luamas'
POM_DEVELOPER_EMAIL='[email protected]'
POM_ARTIFACT_ID = name
VERSION_NAME=version
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply from : "$gradleScriptDir/maven-publish.gradle"
jar{
manifest{
attributes 'Build-Jdk': System.getProperty("java.version")
attributes 'Built-By': 'luamas'
def date = new Date().format("yyyy-MM-dd")
attributes 'Build-Date': date
attributes 'Application-Version': project.version
}
}
javadoc {
if (JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html4', true)
}
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/libs-release" }
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
dependencies{
annotationProcessor("org.projectlombok:lombok:1.18.24")
compileOnly('org.projectlombok:lombok:1.18.24')
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
wrapper{
gradleVersion = '7.6'
distributionType = 'all'
}