From eceba274d83a8d5338c714e4e46cb966ff80a88e Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Tue, 13 Jun 2023 21:12:34 +0200 Subject: [PATCH] Fix build config --- .gitea/workflows/test.yml | 4 +++- build.gradle | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 3444f5f..b9ee9db 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -30,7 +30,9 @@ jobs: distribution: 'oracle' - name: make gradle wrapper executable if: ${{ runner.os != 'Windows' }} - run: chmod +x ./gradlew + run: | + chmod +x ./gradlew + touch local.properties - name: build run: ./gradlew build --no-daemon --max-workers 1 #- name: test diff --git a/build.gradle b/build.gradle index 1a47000..38248ca 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ plugins { } Properties local = new Properties() -local.load(project.rootProject.file('local.properties').newDataInputStream()) +local.load(new FileInputStream(rootProject.file("local.properties"))) allprojects { apply plugin: 'maven-publish'