본문 바로가기

gradle5

[Gradle][Error] Cannot lock execution history cache ... as it has already been locked by this process. Cannot lock execution history cache ([git 경로]\chatting-server\.gradle\6.8\executionHistory) as it has already been locked by this process. 어플리케이션 띄운 후 종료하고 다시 띄웠을 때 위와 같은 에러가 발생했다. github 경로에 있는 .gradle 파일이 문제라는 식으로 보이는데 global .gradle 폴더(C:\Users\[사용자이름]\.gradle)의 문제이다. global .gradle 폴더를 삭제해줘도 되고 // gradle.properties org.gradle.caching=false gradle 캐싱을 사용하지 않는다는 설정을 넣어서 돌려도 해결된다. 항상 캐싱을 사용안하면 .. 2021. 6. 26.
[Gradle] :compileQuerydsl task error Problem Task ':compileQuerydsl' is not up-to-date because: Task has failed previously. Custom actions are attached to task ':compileQuerydsl'. All input files are considered out-of-date for incremental task ':compileQuerydsl'. Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments. Compiling wit.. 2019. 5. 10.
github push할 때 Jenkins 자동 빌드 설정 기록용. 새로운 ITem 클릭 이름 적고 Freestyle project 로 생성. GitHub project 클릭 > git url 복붙. 소스 코드 관리 > Git > Repository URL 작성.브랜치는 master 브랜치로 설정했다. 빌드 > GitHub hook trigger for GITScm polling 클릭.깃허브에서 훅이 날라오면 자동 빌드되게 설정했다. 테스트하려는 프로젝트가 gradle을 사용했기 때문에 Add build step > Invoke Gradle script 추가했다.Invoke Gradle 선택. Tasks는 간단하게 기본으로 "clean build" 적어줬다. 설정을 저장해준 다음 왼쪽편에 Build Now를 누르면 바로 빌드할 수 있다. 그런데 fail이 떠서 .. 2018. 11. 10.
ubuntu gradle 버전 못찾을 때. gradle 설치sudo apt-get install gradlecs gradle 버전 확인gradle -vcs 에러 확인 ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/default-java Please set the JAVA_HOME variable in your environment to match the location of your Java installation.cs JAVA_HOME이 잘못 설정되어 있는 듯 하다. JAVA_HOME 설정 환경설정 열기sudo vi /etc/environmentcs JAVA_HOME 경로 추가JAVA_HOME="[JAVA 경로]"cs 수정된 값 바로 적용source /etc/environmentc.. 2018. 11. 9.
window gradle 설치 Gradle 설치 : https://gradle.org/install/ Complete로 설치. 압축해제. 시스템 속성 > 환경 변수 Path > 편집 압축해제한 경로명\bin 추가 > 확인. cmd에서 gradle -v로 제대로 설치되었는지 확인. 2018. 11. 5.