Skip to content

Commit

Permalink
Moved example to root + CI
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz committed May 22, 2023
1 parent b7ae8b4 commit fd0607b
Show file tree
Hide file tree
Showing 16 changed files with 51 additions and 19 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
build-root-directory: .
arguments: jvmTest jvmJar
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
build-root-directory: .
arguments: jvmTest jvmJar
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions deps.kproject.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dependencies:
- ./korge-compose
15 changes: 0 additions & 15 deletions example/.editorconfig

This file was deleted.

2 changes: 0 additions & 2 deletions example/deps.kproject.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions example/settings.gradle.kts → settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ pluginManagement {

plugins {
//id("com.soywiz.kproject.settings") version "0.0.1-SNAPSHOT"
id("com.soywiz.kproject.settings") version "0.2.1"
id("com.soywiz.kproject.settings") version "0.3.0"
}

rootProject.name = "${rootDir.parentFile.name}-example"
rootProject.name = "${rootDir.name}-example"

kproject("./deps")
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes

0 comments on commit fd0607b

Please sign in to comment.