2019-04-09 06:48:16 +00:00
|
|
|
plugins {
|
|
|
|
id 'org.springframework.boot' version '2.1.3.RELEASE'
|
2019-06-10 17:22:00 +00:00
|
|
|
id "io.freefair.lombok" version "3.6.6"
|
2019-06-12 12:40:20 +00:00
|
|
|
// id 'war'
|
2019-04-09 06:48:16 +00:00
|
|
|
id 'java'
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
|
|
|
|
group = 'run.halo.app'
|
|
|
|
archivesBaseName = 'halo'
|
2019-06-12 16:58:46 +00:00
|
|
|
version = '1.0.2'
|
2019-04-09 06:48:16 +00:00
|
|
|
sourceCompatibility = '1.8'
|
|
|
|
description = 'Halo, personal blog system developed in Java.'
|
|
|
|
|
|
|
|
repositories {
|
2019-05-12 15:55:14 +00:00
|
|
|
maven {
|
|
|
|
url 'https://maven.aliyun.com/nexus/content/groups/public'
|
|
|
|
}
|
2019-04-09 06:48:16 +00:00
|
|
|
mavenCentral()
|
2019-05-12 15:55:14 +00:00
|
|
|
jcenter()
|
2019-04-09 06:48:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
implementation {
|
|
|
|
exclude module: 'spring-boot-starter-tomcat'
|
|
|
|
}
|
|
|
|
|
|
|
|
developmentOnly
|
2019-06-04 07:55:51 +00:00
|
|
|
|
2019-04-19 05:57:28 +00:00
|
|
|
runtimeClasspath {
|
|
|
|
extendsFrom developmentOnly
|
|
|
|
}
|
2019-04-09 06:48:16 +00:00
|
|
|
}
|
|
|
|
|
2019-05-07 03:15:48 +00:00
|
|
|
bootJar {
|
|
|
|
manifest {
|
|
|
|
attributes('Implementation-Title': 'Halo Application',
|
|
|
|
'Implementation-Version': version)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-09 06:48:16 +00:00
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-undertow'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-freemarker'
|
|
|
|
|
|
|
|
implementation 'io.github.biezhi:oh-my-email:0.0.4'
|
|
|
|
implementation 'cn.hutool:hutool-core:4.5.0'
|
|
|
|
implementation 'cn.hutool:hutool-crypto:4.5.0'
|
|
|
|
implementation 'cn.hutool:hutool-extra:4.5.0'
|
|
|
|
implementation 'com.upyun:java-sdk:4.0.1'
|
|
|
|
implementation 'com.qiniu:qiniu-java-sdk:7.2.18'
|
|
|
|
implementation 'com.aliyun.oss:aliyun-sdk-oss:3.4.2'
|
|
|
|
implementation 'net.coobird:thumbnailator:0.4.8'
|
|
|
|
implementation 'io.springfox:springfox-swagger2:2.9.2'
|
|
|
|
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
|
|
|
|
implementation 'org.apache.commons:commons-lang3:3.8.1'
|
|
|
|
implementation 'org.apache.httpcomponents:httpclient:4.5.7'
|
|
|
|
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.2'
|
2019-04-19 05:57:28 +00:00
|
|
|
implementation 'org.eclipse.jgit:org.eclipse.jgit:5.3.0.201903130848-r'
|
2019-04-09 06:48:16 +00:00
|
|
|
|
2019-06-27 15:29:54 +00:00
|
|
|
implementation 'com.vladsch.flexmark:flexmark:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-ext-attributes:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-ext-autolink:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-ext-emoji:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-ext-escaped-character:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-ext-gfm-tasklist:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-ext-ins:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-ext-media-tags:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-ext-tables:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-ext-toc:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-ext-yaml-front-matter:0.42.12'
|
|
|
|
implementation 'com.vladsch.flexmark:flexmark-html-parser:0.42.12'
|
|
|
|
|
2019-04-09 06:48:16 +00:00
|
|
|
runtimeOnly 'com.h2database:h2'
|
|
|
|
runtimeOnly 'mysql:mysql-connector-java'
|
|
|
|
|
2019-06-04 07:55:51 +00:00
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
|
2019-04-09 06:48:16 +00:00
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
}
|