Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ufuk committed Jul 23, 2024
1 parent 7e6071d commit f7e5e9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/mvn-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
distribution: 'adopt'
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Update Package Version
run: ./gradlew updateVersion
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Publish SDK
Expand Down
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ task updateVersion {
}
}

gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
dependsOn tasks.updateVersion
}
}

if (hasProperty('target') && target == 'android') {

apply plugin: 'com.android.library'
Expand Down

0 comments on commit f7e5e9e

Please sign in to comment.