Gradle 配置

buildscript {    repositories {        maven {            url "http://maven.aliyun.com/nexus/content/groups/public/"        }    }}plugins {    id 'org.springframework.boot' version '2.1.5.RELEASE'    id 'java'    id 'idea'}apply plugin: 'io.spring.dependency-management'group = 'com.example'version = '0.0.1-SNAPSHOT'sourceCompatibility = '1.8'repositories {    maven {        url "http://maven.aliyun.com/nexus/content/groups/public/"    }    mavenCentral()}dependencies {    implementation 'org.springframework.boot:spring-boot-starter-actuator'    implementation 'org.springframework.boot:spring-boot-starter-aop'    implementation 'org.springframework.boot:spring-boot-starter-web'    testImplementation 'org.springframework.boot:spring-boot-starter-test'}
相關文章
相關標籤/搜索