일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
- netsh
- plugin
- import
- Source
- resource
- bash
- Quartz
- port
- 줄바꿈 문자
- vscode
- IntelliJ
- web.xml
- profile
- tomcat
- grep
- 단축키
- Windows 10
- ssh
- context
- Mac
- maVen
- lsof
- GIT
- 네트워크
- xargs
- Windows
- JavaScript
- find
- Eclipse
- VirtualBox
- Today
- Total
목록Dev/gradle (6)
develog
방법1 implementation ('org.springframework.boot:spring-boot-starter-web') { exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat' } 방법2 implementation ('org.springframework.boot:spring-boot-starter-web') { exclude module: 'spring-boot-starter-tomcat' }

프로젝트 root 하위에 lib 폴더를 만들고 jar 파일들을 넣어둔다 build.gradle dependencies 추가 compile files 또는 compile fileTree 사용 compile files('lib/ojdbc6.jar') compile fileTree(dir: 'lib', include: ['*.jar'])
./gradlew clean ./gradlew compileJava ./gradlew compileTestJava ./gradlew test ./gradlew build ./gradlew build --info ./gradlew build --debug
build.gradle (no dependencies) plugins { id 'org.springframework.boot' version '2.3.2.RELEASE' id 'io.spring.dependency-management' version '1.0.9.RELEASE' id 'java' } group = 'com.example' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter' testImplementation('org.springframework.boot:..
github.com/gavlyukovskiy/spring-boot-data-source-decorator implementation("com.github.gavlyukovskiy:p6spy-spring-boot-starter:${version}") implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.7.1'
gradle dependencies https://docs.gradle.org/current/userguide/java_library_plugin.html The Java Library Plugin The Java Library plugin expands the capabilities of the Java plugin by providing specific knowledge about Java libraries. In particular, a Java library exposes an API to consumers (i.e., other projects using the Java or the Java Library plugin). All the so docs.gradle.org