代码拉取完成,页面将自动刷新
buildscript {
ext {
smartDocVersion = '2.7.3'
}
repositories {
mavenCentral()
maven {
url 'https://maven.aliyun.com/repository/public'
}
maven {
url 'https://maven.aliyun.com/repository/gradle-plugin'
}
maven {
url "https://plugins.gradle.org/m2/"
}
}
}
plugins {
id 'org.springframework.boot' version '3.1.0'
id 'io.spring.dependency-management' version '1.1.0'
id 'java'
id "com.github.shalousun.smart-doc" version "2.7.0"
}
repositories {
maven {
url 'https://maven.aliyun.com/repository/public'
}
maven {
url 'https://maven.aliyun.com/repository/gradle-plugin'
}
maven {
url "https://plugins.gradle.org/m2/"
}
mavenCentral()
}
subprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'jacoco'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'com.github.shalousun.smart-doc'
group = 'com.example'
sourceCompatibility = 17
targetCompatibility = 17
// java编译的时候缺省状态下会因为中文字符而失败
[compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8'
bootJar {
enabled = false // 默认不需要打可执行jar包
}
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
url 'https://maven.aliyun.com/repository/public'
}
mavenCentral()
}
smartdoc {
//
configFile = file("src/main/resources/smart-doc.json")
}
dependencies {
implementation("com.github.shalousun:smart-doc-gradle-plugin:${smartDocVersion}")
implementation group: 'com.github.shalousun', name: 'common-util', version: '2.1.9'
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
testImplementation('org.springframework.boot:spring-boot-starter-test')
compileOnly 'org.projectlombok:lombok'
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。