1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/xieqiangcode-tech-blog-api

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
build.gradle 3.2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
bumishi Отправлено 01.04.2017 12:47 c201d1b
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'spring-boot'
def powerMockVersion ='1.6.5'
buildscript {
def springbootVersion = '1.4.3.RELEASE'
repositories {
jcenter()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
}
dependencies {
//加入这个可以达到统一管理springboot的版本的功能,类似maven中的dependence management
//The spring-boot-gradle-plugin is also available and provides tasks to create executable jars and run projects from source. It also provides dependency management that, among other capabilities, allows you to omit the version number for any dependencies that are managed by Spring Boot:
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springbootVersion}")
}
}
repositories {
jcenter()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
}
dependencies {
compile files('src/main/lib/bumishi-toolbox-1.0.jar')
compile 'org.aspectj:aspectjrt:1.7.3'
compile 'org.aspectj:aspectjweaver:1.7.3'
compile 'mysql:mysql-connector-java:5.1.28'
compile("org.springframework.boot:spring-boot-starter-jdbc")
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.springframework.boot:spring-boot-starter-cache")
compile("de.codecentric:spring-boot-admin-starter-client:1.4.3")
// compile 'org.springframework.boot:spring-boot-starter-security'
compile("org.springframework.boot:spring-boot-devtools")
//compile 'org.springframework.session:spring-session:1.2.2.RELEASE'
// compile 'org.springframework.boot:spring-boot-starter-data-elasticsearch'
compile 'org.elasticsearch:elasticsearch:5.1.1'
compile 'org.elasticsearch.client:transport:5.1.1'
//日志
compile 'org.apache.logging.log4j:log4j-to-slf4j:2.7'
compile 'com.hazelcast:hazelcast:3.7.2'
compile 'com.google.zxing:core:3.2.0'
compile 'com.google.zxing:javase:3.2.0'
compile 'com.alibaba:druid:1.0.25'
compile 'com.alibaba:fastjson:1.2.17'
compile 'org.apache.commons:commons-lang3:3.4'
compile 'commons-codec:commons-codec:1.10'
compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.3'
compile 'com.google.guava:guava:19.0'
compile 'org.thymeleaf:thymeleaf:3.0.2.RELEASE'
compile 'org.thymeleaf:thymeleaf-spring4:3.0.2.RELEASE'
compile 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:2.0.3'
compile 'com.github.sd4324530:fastweixin:1.3.13'
compile 'commons-codec:commons-codec:1.10'
compile group: 'org.apache.xmlrpc', name: 'xmlrpc-server', version: '3.1.3'
compile group: 'org.apache.xmlrpc', name: 'xmlrpc-client', version: '3.1.3'
compile group: 'org.jsoup', name: 'jsoup', version: '1.10.2'
testCompile("org.springframework.boot:spring-boot-starter-test")
testCompile "org.powermock:powermock-api-mockito:${powerMockVersion}"
testCompile "org.powermock:powermock-module-junit4:${powerMockVersion}"
}
springBoot {
mainClass = "org.bumishi.techblog.Application"
}
bootRun {
addResources = true
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/xieqiangcode-tech-blog-api.git
git@api.gitlife.ru:oschina-mirror/xieqiangcode-tech-blog-api.git
oschina-mirror
xieqiangcode-tech-blog-api
xieqiangcode-tech-blog-api
master