1 Star 0 Fork 1

Andy/mybatis-plus-benchmark-test

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
w1ida 提交于 2020-09-19 22:49 +08:00 . first commit
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "me.champeau.gradle:jmh-gradle-plugin:0.5.1"
}
}
plugins {
id 'org.springframework.boot' version '2.3.4.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '8'
apply plugin: "me.champeau.gradle.jmh"
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
}
sourceSets {
jmh {
java.srcDirs = ['src/jmh/java']
resources.srcDirs = ['src/jmh/resources']
compileClasspath += sourceSets.main.runtimeClasspath + sourceSets.jmh.compileClasspath
runtimeClasspath += sourceSets.main.runtimeClasspath
}
}
dependencies {
jmhAnnotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:1.25'
jmhImplementation 'org.openjdk.jmh:jmh-core:1.25'
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'com.baomidou:mybatis-plus-boot-starter:3.4.0'
runtimeOnly 'com.h2database:h2'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
//
//task jmh(type: JavaExec, dependsOn: jmhClasses) {
// main = 'org.openjdk.jmh.Main'
// classpath = sourceSets.jmh.compileClasspath + sourceSets.jmh.runtimeClasspath
//}
//classes.finalizedBy(jmhClasses)
test {
useJUnitPlatform()
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/man119/mybatis-plus-benchmark-test.git
git@gitee.com:man119/mybatis-plus-benchmark-test.git
man119
mybatis-plus-benchmark-test
mybatis-plus-benchmark-test
master

搜索帮助