halo/build.gradle

76 lines
2.7 KiB
Groovy
Raw Normal View History

2019-04-09 06:48:16 +00:00
plugins {
id 'org.springframework.boot' version '2.1.3.RELEASE'
id "io.freefair.lombok" version "3.1.4"
id 'java'
}
apply plugin: 'io.spring.dependency-management'
group = 'run.halo.app'
archivesBaseName = 'halo'
2019-06-01 01:55:19 +00:00
version = '1.0.0-beta.9'
2019-04-09 06:48:16 +00:00
sourceCompatibility = '1.8'
description = 'Halo, personal blog system developed in Java.'
repositories {
maven {
url 'https://maven.aliyun.com/nexus/content/groups/public'
}
2019-04-09 06:48:16 +00:00
mavenCentral()
jcenter()
2019-04-09 06:48:16 +00:00
}
configurations {
implementation {
exclude module: 'spring-boot-starter-tomcat'
}
developmentOnly
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 'com.atlassian.commonmark:commonmark:0.12.1'
implementation 'com.atlassian.commonmark:commonmark-ext-gfm-tables:0.12.1'
implementation 'com.atlassian.commonmark:commonmark-ext-yaml-front-matter:0.12.1'
2019-05-29 07:21:12 +00:00
implementation 'com.atlassian.commonmark:commonmark-ext-autolink:0.12.1'
implementation 'com.atlassian.commonmark:commonmark-ext-gfm-strikethrough:0.12.1'
implementation 'com.atlassian.commonmark:commonmark-ext-heading-anchor:0.12.1'
implementation 'com.atlassian.commonmark:commonmark-ext-ins:0.12.1'
2019-04-09 06:48:16 +00:00
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
runtimeOnly 'com.h2database:h2'
runtimeOnly 'mysql:mysql-connector-java'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
}