# 지침 문서가 적은 의존성 ## Allowed - `:application-core`, `:domain-core`, `:shared-contract` (Gradle matrix). Currently only `:domain-core` + `com.github.f4b6a3:uuid-creator` are declared in [build.gradle](build.gradle). # 빌드 파일의 선언 블록 dependencies { implementation project(':application-core') testImplementation 'org.spockframework:spock-core:2.4-groovy-5.0' } # 뒤 문장이 든 두 이름을 각각 빌드 파일과 잠금 파일에서 찾는다 # 빌드 파일의 domain-core 언급(모든 표기) : 0 # 잠금 파일 줄 수 / uuid-creator·f4b6a3 : 154 / 0 # 그 잠금 파일이 덮는 configuration : annotationProcessor checkstyle compileClasspath mockitoAgent runtimeClasspath spotbugs spotbugsPlugins spotbugsSlf4j testAnnotationProcessor testCompileClasspath testRuntimeClasspath # 프로덕션 클래스패스의 잠금 상태 : empty=compileClasspath,runtimeClasspath 336: lockAllConfigurations() 337: lockMode = LockMode.STRICT # 그 라이브러리를 선언하는 곳 sample-portfolio/build.gradle:52: implementation 'com.github.f4b6a3:uuid-creator:6.1.1' # 앞 문장의 셋과 강제되는 허용 목록 # 레지스트리 allowed_dependencies : ['domain-core', 'application-core'] # 문서가 든 셋 중 목록에 없는 것 : ['shared-contract'] # 그 목록이 강제되는 사슬 1419: Map> allowedProjectDependencies = registry.modules.collectEntries { module -> } Set forbidden = actual - allowed if (!forbidden.isEmpty()) { throw new GradleException( "Module ':${moduleName}' has forbidden project dependencies ${forbidden}. " + "Allowed dependencies are ${allowed}. " + 577: dependsOn rootProject.tasks.named('verifyCleanArchitectureDependencies')