repositories {
maven {
url "http://10.110.1.12:8889/nexus/content/groups/public"
allowInsecureProtocol true
}
mavenCentral()
}
allowInsecureProtocol true
OR
allowInsecureProtocol = true
https://codinglog.tistory.com/157
로컬 리포지토리 등록시 보안 오류
로컬 네트워크에 설치한 넥서스 리포지토리를 사용하려고 아래와 같이 리포지토리를 등록하면 maven { url "http://10.110.1.12:8889/nexus/content/groups/public" } 아래와 같은 오류를 볼 수 있다. * What went wrong:
codinglog.tistory.com
====================================================================================================
repositories {
mavenCentral()
maven {
url = uri("http://nexus.xxxxx.com/repository/snapshots")
allowInsecureProtocol = true
}
maven {
url = uri("http://nexus.xxxxx.com/repository/public")
allowInsecureProtocol = true
}
}
https://jjeong.tistory.com/1607
[Gradle] build.gradle 에서 maven insecure protocol 설정
maven. uri 설정 시 https 가 아닌 http 를 사용 할 경우 gradle 7.x 에서는 아래 설정을 추가해 주면 됩니다. repositories { mavenCentral() maven { url = uri("http://nexus.xxxxx.com/repository/snapshots") allowInsecureProtocol = true
jjeong.tistory.com
'gradle' 카테고리의 다른 글
updatePolicy - gradle (0) | 2023.09.18 |
---|---|
gradle 호환성 (0) | 2023.02.26 |
spring-boot-gradle-plugin (0) | 2023.02.12 |
gradle-maven-exec-plugin (0) | 2022.08.29 |
-plain.jar 생성 방지 (0) | 2022.08.13 |