Skip to content

Commit 8432ed3

Browse files
authored
Merge pull request #2 from hossain-khan/gradle-ci
Create gradle.yml
2 parents 2b498c4 + 578e283 commit 8432ed3

File tree

17 files changed

+80
-68
lines changed

17 files changed

+80
-68
lines changed

.github/workflows/gradle.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
6+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
7+
8+
name: Build with Gradle
9+
10+
on:
11+
push:
12+
branches: [ "main" ]
13+
pull_request:
14+
branches: [ "main" ]
15+
16+
permissions:
17+
contents: read
18+
19+
jobs:
20+
build:
21+
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- uses: actions/checkout@v3
26+
- name: Set up JDK 19
27+
uses: actions/setup-java@v3
28+
with:
29+
java-version: '19'
30+
distribution: 'temurin'
31+
- name: Build with Gradle
32+
run: ./gradlew build
33+
34+
- name: Run Unit Tests
35+
run: ./gradlew test

.gitignore

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,46 @@
2222
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2323
hs_err_pid*
2424
replay_pid*
25+
26+
.gradle
27+
build/
28+
!gradle/wrapper/gradle-wrapper.jar
29+
!**/src/main/**/build/
30+
!**/src/test/**/build/
31+
32+
### IntelliJ IDEA ###
33+
.idea/modules.xml
34+
.idea/jarRepositories.xml
35+
.idea/compiler.xml
36+
.idea/libraries/
37+
*.iws
38+
*.iml
39+
*.ipr
40+
out/
41+
!**/src/main/**/out/
42+
!**/src/test/**/out/
43+
44+
### Eclipse ###
45+
.apt_generated
46+
.classpath
47+
.factorypath
48+
.project
49+
.settings
50+
.springBeans
51+
.sts4-cache
52+
bin/
53+
!**/src/main/**/bin/
54+
!**/src/test/**/bin/
55+
56+
### NetBeans ###
57+
/nbproject/private/
58+
/nbbuild/
59+
/dist/
60+
/nbdist/
61+
/.nb-gradle/
62+
63+
### VS Code ###
64+
.vscode/
65+
66+
### Mac OS ###
67+
.DS_Store
File renamed without changes.

sqldelight-playground/.idea/gradle.xml renamed to .idea/gradle.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

sqldelight-playground/.idea/misc.xml renamed to .idea/misc.xml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sqldelight-playground/.idea/vcs.xml renamed to .idea/vcs.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

sqldelight-playground/.gitignore

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)