buildscript {
    repositories {
        mavenLocal()
        maven {
            allowInsecureProtocol = true
            url "http://maven.aliyun.com/nexus/content/groups/public" }
        mavenCentral()
    }
    dependencies {
        classpath("$bootGroup:spring-boot-gradle-plugin:$springBootVersion")
    }
}
version = '1.0.02'
apply plugin: "$bootGroup"
apply plugin: 'io.spring.dependency-management'


dependencies {

    implementation project(":common:utils")
    implementation project(":common:data")
    implementation project(":dao:dao-interface")
    implementation project(":dao:dao-sql")

    implementation fileTree(dir: 'src/main/lib', include: '*.jar')

    implementation("$bootGroup:spring-boot-starter-web")
    implementation("$bootGroup:spring-boot-starter-undertow")
    implementation("$bootGroup:spring-boot-starter-websocket")
    implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
    implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
    implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")
    implementation("org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion")
   // implementation ("mysql:mysql-connector-java:$mysqlConnectorVersion")
    implementation "com.alibaba:druid:$alibabaDruidVersion"
    implementation "com.alibaba:fastjson:$fastjsonVersion"

    testImplementation("$bootGroup:spring-boot-starter-test")
    implementation("io.github.openfeign:feign-core:$openFeignVersion")
    implementation("io.github.openfeign:feign-jackson:$openFeignVersion")
    implementation 'org.postgresql:postgresql:42.4.0'
}