backend scaffold
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
dependencies {
|
||||
testImplementation 'com.tngtech.archunit:archunit-junit5:1.4.2'
|
||||
// 依赖所有被检查的模块,否则 ClassFileImporter 扫不到它们的字节码。
|
||||
// bootstrap 里全是 implementation 依赖,只会进 runtimeClasspath——扫描够用了。
|
||||
testImplementation project(':bootstrap')
|
||||
// 规则里要按类型引用 ApiResult / @RestController / @RequestMapping(比字符串匹配安全,
|
||||
// 类改名了编译期就报错),这几个得显式进 compileClasspath。
|
||||
testImplementation project(':platform:platform-web')
|
||||
}
|
||||
Reference in New Issue
Block a user