diff options
| -rw-r--r-- | .github/workflows/build.yml | 2 | ||||
| -rw-r--r-- | build.gradle | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 087fff2b..7b996401 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle - run: ./gradlew build + run: ./gradlew allJar - name: Upload Plugin uses: actions/upload-artifact@master with: diff --git a/build.gradle b/build.gradle index c6183574..85c24169 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { defaultTasks 'allJar' -subprojects { +allprojects { apply plugin: 'java' group = 'com.leonardobishop' @@ -13,15 +13,14 @@ subprojects { sourceCompatibility = 1.8 targetCompatibility = 1.8 - } - task allJar( type: Jar, dependsOn: subprojects.tasks['build'] ) { subprojects.each { subproject -> from subproject.configurations.archives.allArtifacts.files.collect { zipTree(it) } } + archiveBaseName = 'Quests' } artifacts { |
