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'