Skip to content

Commit

Permalink
[setting #182] buildspec.yml 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
unanchoi committed Oct 29, 2023
1 parent 8a59bae commit 10d1472
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 0.2

phases:
install:
runtime-versions:
java: corretto11
commands:
- echo Installing dependencies...
- apt-get update -y
pre_build:
commands:
- echo Running pre-build commands...
- export GRADLE_HOME=/opt/gradle/gradle-6.8.3
- export PATH=$GRADLE_HOME/bin:$PATH
build:
commands:
- echo Building the project...
- ./gradlew build -x test
post_build:
commands:
- echo Running post-build commands...

artifacts:
files:
- build/libs/*.jar

cache:
paths:
- '/root/.gradle/**/*'

0 comments on commit 10d1472

Please sign in to comment.