diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-06-21 01:39:39 +0100 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-06-21 01:39:39 +0100 |
| commit | fdb88558e224aa1cf275b37dcbea3cad755b87f8 (patch) | |
| tree | ed0e2447cf42bb3a63901f53124b2b0751bb0b1f | |
| parent | 54b384556fce52a26f726d403b33dc3b45797199 (diff) | |
Update build.gradle
| -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 { |
