mirror of https://github.com/halo-dev/halo
88 lines
3.2 KiB
Groovy
88 lines
3.2 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.1.3.RELEASE'
|
|
id "io.freefair.lombok" version "3.6.6"
|
|
// id 'war'
|
|
id 'java'
|
|
}
|
|
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
group = 'run.halo.app'
|
|
archivesBaseName = 'halo'
|
|
version = '1.0.2'
|
|
sourceCompatibility = '1.8'
|
|
description = 'Halo, personal blog system developed in Java.'
|
|
|
|
repositories {
|
|
maven {
|
|
url 'https://maven.aliyun.com/nexus/content/groups/public'
|
|
}
|
|
mavenCentral()
|
|
jcenter()
|
|
}
|
|
|
|
configurations {
|
|
implementation {
|
|
exclude module: 'spring-boot-starter-tomcat'
|
|
}
|
|
|
|
developmentOnly
|
|
|
|
runtimeClasspath {
|
|
extendsFrom developmentOnly
|
|
}
|
|
}
|
|
|
|
bootJar {
|
|
manifest {
|
|
attributes('Implementation-Title': 'Halo Application',
|
|
'Implementation-Version': version)
|
|
}
|
|
}
|
|
|
|
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'
|
|
implementation 'org.eclipse.jgit:org.eclipse.jgit:5.3.0.201903130848-r'
|
|
|
|
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'
|
|
|
|
runtimeOnly 'com.h2database:h2'
|
|
runtimeOnly 'mysql:mysql-connector-java'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
} |