sitelink1 | https://stackoverflow.com/questions/2070...radle-file |
---|---|
sitelink2 | |
sitelink3 |
ⓠ Question > How to add local .jar file dependency to build.gradle file?
ⓐ Answer > According to the documentation
Groovy syntax:
dependencies {
implementation files('libs/a.jar', 'libs/b.jar')
implementation fileTree('libs') { include '*.jar' }
}
Kotlin syntax:
dependencies {
implementation(files("libs/a.jar", "libs/b.jar"))
implementation(fileTree("libs") { include("*.jar") })
}
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
9 | [POST, 2021.06.28] Gradle을 이용해 Web 어플리케이션을 만들고 빌드하고 실행하기 | 황제낙엽 | 2023.12.30 | 0 |
8 | build.gradle 의 dependencies | 황제낙엽 | 2023.12.29 | 0 |
7 | error: unmappable character | 황제낙엽 | 2023.12.29 | 0 |
6 | Task :compileJava FAILED | 황제낙엽 | 2023.12.29 | 0 |
» | 사용자 라이브러리 파일(*.jar) 를 의존성에 추가하는 방법 | 황제낙엽 | 2023.12.28 | 0 |
4 | Windows 에 Gradle 설치 | 황제낙엽 | 2023.12.23 | 0 |
3 | Eclipse, Gradle 프로젝트 생성, Dynamic Web Project 로 변경 | 황제낙엽 | 2023.12.23 | 0 |
2 | [2014~2015] gradle 영문 튜토리얼 (Getting Started With Gradle) | 황제낙엽 | 2023.07.13 | 2 |
1 | Maven, Gradle 의 비교와 Gradle + Eclipse에서 gradle의 빌드가 안될때 | 황제낙엽 | 2023.07.11 | 7 |