써먹는 웹개발

[IntelliJ] Repository를 내부 Repository로 변경할때 설정한 방법 본문

Developer Tools/IntelliJ & DataGrip

[IntelliJ] Repository를 내부 Repository로 변경할때 설정한 방법

kmhan 2021. 8. 28. 14:58


728x90
반응형

1. gradle-wrapper.propeties 수정

1
2
distributionUrl=http\://ip번호:port번호/nexus/content/repositories/.gradle/wrapper/dists/gradle-7.1.1-bin/f29rtwfnc96ub43tt7p47zsru/gradle-7.1.1-bin.zip
#distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
cs

 

2. build.gradle

1
2
3
4
5
repository {
  maven {
    url 'ip번호:port번호/nexus/content/repositories/생성한 nexus 경로'
  }
}
cs

 

 

참고 : https://kim-solshar.tistory.com/69

728x90
반응형


Comments