Skip to content

Commit

Permalink
Merge branch 'encore-instant' into 'master'
Browse files Browse the repository at this point in the history
Encore instant

See merge request videocore/encore!148
  • Loading branch information
fhermansson committed Sep 25, 2023
2 parents 3f81b43 + 58cc714 commit b99ab0a
Show file tree
Hide file tree
Showing 154 changed files with 3,263 additions and 1,492 deletions.
100 changes: 0 additions & 100 deletions .github/workflows/publish.yaml

This file was deleted.

25 changes: 14 additions & 11 deletions .github/workflows/publishjar.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create and publish a Spring Boot jar/Spring Boot LaunchScript Jar
name: Create and publish Spring Boot jars and GraalVm native images

on:
push:
Expand All @@ -13,25 +13,28 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v2
- name: Set up GraalVm
uses: graalvm/setup-graalvm@v1
with:
java-version: '11'
distribution: 'adopt'
java-version: '17'
distribution: 'graalvm-community'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build jars with Gradle
run: |
./gradlew build -x test
- name: Build jars and native images with Gradle
run: gradlew build nativeCompile -x test

- name: Release Jars
- name: Release Jars and native images
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
build/libs/encore*.jar
encore-web/build/libs/encore-web*boot.jar
encore-web/build/native/nativeCompile/encore-web
encore-worker/build/libs/encore-worker*boot.jar
encore-worker/build/native/nativeCompile/encore-worker
12 changes: 2 additions & 10 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

152 changes: 0 additions & 152 deletions build.gradle.kts

This file was deleted.

24 changes: 24 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
plugins {
`kotlin-dsl`
}

repositories {
mavenCentral()
gradlePluginPortal()
}
kotlin {
jvmToolchain(17)
}
dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.9.10"))
implementation(platform("org.springframework.boot:spring-boot-dependencies:3.1.3"))
implementation(platform("org.springframework.cloud:spring-cloud-dependencies:2022.0.4"))
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin")
implementation("org.jetbrains.kotlin:kotlin-allopen")
implementation("org.springframework.boot:spring-boot-gradle-plugin:3.1.3")
implementation("org.jmailen.gradle:kotlinter-gradle:3.13.0")
implementation("pl.allegro.tech.build:axion-release-plugin:1.14.3")
implementation("org.graalvm.buildtools:native-gradle-plugin:0.9.25")
implementation("com.github.fhermansson:assertj-gradle-plugin:1.1.5")
implementation("se.ascp.gradle:gradle-versions-filter:0.1.16")
}
Loading

0 comments on commit b99ab0a

Please sign in to comment.