1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- plugins {
- id 'org.springframework.boot' version '2.4.5'
- id 'io.spring.dependency-management' version '1.0.11.RELEASE'
- id 'java'
- id 'war'
- }
- group = 'com.emato'
- version = '1.0.0'
- sourceCompatibility = '1.8'
- repositories {
- // 本地仓库
- mavenLocal()
- // ali 代理的central仓和jcenter仓的聚合仓
- maven {url 'https://maven.aliyun.com/repository/public/'}
- maven {url 'https://maven.aliyun.com/repository/gradle-plugin/'}
- maven {url 'https://maven.aliyun.com/repository/spring/'}
- maven {url 'https://maven.aliyun.com/repository/spring-plugin/'}
- maven {url 'https://maven.aliyun.com/repository/google/'}
- maven {url 'https://maven.aliyun.com/repository/grails-core/'}
- maven {url 'https://repository.jboss.org/nexus/content/repositories/releases/'}
- maven {url 'https://plugins.gradle.org/m2/'}
- maven {url 'https://repo.spring.io/libs-milestone/'}
- maven {url 'https://repo.spring.io/plugins-release/'}
- maven {url 'https://repo.grails.org/grails/core/'}
- maven {url 'https://repository.apache.org/content/groups/public/'}
- // 远程中央仓库
- mavenCentral()
- maven {url 'https://repo1.maven.org/maven2/'}
- }
- ext {
- junit = '4.13'
- minio = '8.1.0'
- // logback对spring的支持
- logback_ext_spring = '0.1.4'
- // Java工具包类库,各种Util工具类
- hutool = '5.6.2'
- commons_beanutils = '1.9.3'
- commons_codec = '1.13'
- commons_io = '2.6'
- commons_lang3 = '3.6'
- commons_pool2 = '2.6.2'
- apache_httpclient = '4.5.4'
- }
- dependencies {
- testImplementation("junit:junit:${junit}")
- implementation 'org.springframework.boot:spring-boot-starter-web'
- providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
- testImplementation 'org.springframework.boot:spring-boot-starter-test'
- implementation "io.minio:minio:${minio}"
- // Java工具包类库,各种Util工具类
- implementation("cn.hutool:hutool-all:${hutool}")
- implementation "commons-beanutils:commons-beanutils:${commons_beanutils}"
- implementation "commons-codec:commons-codec:${commons_codec}"
- implementation "commons-io:commons-io:${commons_io}"
- implementation "org.apache.commons:commons-lang3:${commons_lang3}"
- // for springLettuceStandalonePoolingClientProperties()
- implementation "org.apache.commons:commons-pool2:${commons_pool2}"
- implementation "org.apache.httpcomponents:httpclient:${apache_httpclient}"
- }
- test {
- useJUnitPlatform()
- }
|