토비의 스프링워크 책으로 열심히 공부중인 초보 개발자입니다
처음으로 라이브러리를 추가해서 어노테이션을 구현하려고 하는데요
https://mvnrepository.com/artifact/net.sourceforge.cglib/com.springsource.net.sf.cglib/2.2.0
위의 사이트에서 gradle 종속절을 복사해서 받아오려고 했습니다만 Central 종류만 가능하고 spring-plugins 종류는 바로 적용시킬수 없다는걸 알았습니다.
그런데 plugin을 통해서 종속받는 방법을 도저히 모르겠어서 질문드립니다 ㅠ
build.gradle 파일은 아래와 같습니다
plugins {
id 'java'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven{ url "https://repo.spring.io/plugins-release/"}
}
dependencies {
implementation group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '3.0.3'
//문제의 그것..ㅠ
implementation 'net.sourceforge.cglib:com.springsource.net.sf.cglib:2.1.3'
implementation group: 'commons-logging', name: 'commons-logging', version: '1.1.1'
implementation group: 'org.springframework', name: 'spring-asm', version: '3.0.7.RELEASE'
implementation group: 'org.springframework', name: 'spring-beans', version: '3.0.7.RELEASE'
implementation group: 'org.springframework', name: 'spring-context', version: '3.0.7.RELEASE'
implementation group: 'org.springframework', name: 'spring-core', version: '3.0.7.RELEASE'
implementation group: 'org.springframework', name: 'spring-expression', version: '3.0.7.RELEASE'
}