티스토리 뷰
728x90
withType<Jar> {
enabled = true
isZip64 = true
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
archiveFileName.set("$project.jar")
from(sourceSets.main.get().output)
dependsOn(configurations.compileClasspath)
from({
configurations.compileClasspath.get().filter {
it.name.endsWith("jar")
}.map { zipTree(it) }
}) {
exclude("META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA")
}
}
https://github.com/johnrengelman/shadow/issues/107
shadow jar with > 65535 files fails · Issue #107 · johnrengelman/shadow
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':xxxxx:shadowJar'. > org.apache.tools.zip.Zip64RequiredException: archive contains more than 65535 ...
github.com
Using Gradle to build a jar with dependencies with Kotlin-DSL
There is already an answer to the question: how to include all the dependencies in a jar file though it's for Groovy I'm using gradle with kotlin-dsl and the code is not compatible. I tried to mak...
stackoverflow.com
728x90
'공부' 카테고리의 다른 글
[broker] kafka vs rabbitMQ (0) | 2022.08.18 |
---|---|
[kotlin] public static void main (0) | 2022.08.18 |
[pandas] web scraping (0) | 2022.08.13 |
[Scala] SparkSession.conf(String, Any) (0) | 2022.08.13 |
[kotlin] map -> flatMap (0) | 2022.08.11 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 테슬라 리퍼럴 코드 생성
- 모델y
- 책그림
- 모델 Y 레퍼럴
- follower
- 테슬라 리퍼럴 코드
- Kluge
- 테슬라 추천
- 김달
- 인스타그램
- 테슬라 레퍼럴 적용 확인
- wlw
- 테슬라 리퍼럴 코드 혜택
- 클루지
- 테슬라 레퍼럴
- 유투브
- 메디파크 내과 전문의 의학박사 김영수
- 테슬라
- 할인
- COUNT
- 테슬라 레퍼럴 코드 확인
- 레퍼럴
- 어떻게 능력을 보여줄 것인가?
- 테슬라 크레딧 사용
- 팔로워 수 세기
- Bot
- 개리마커스
- 연애학개론
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함