Skip to content

Commit

Permalink
chore: Update build process to use Makefile and Gradle 7.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fcarrero committed Aug 28, 2024
1 parent 3ac8fe9 commit 90bafbe
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
port: 3000
- name: Build
run: |
./gradlew clean build
make build
- name: test
run: |
./gradlew test
make test
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: app
path: app/build/outputs/apk/debug/app-debug.apk
path: app/build/outputs/aar/conektasdk-debug.aar
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
test:
./gradlew test
build:
./gradlew clean build -x lintDebug
android:
rm -rf src/main/kotlin && \
rm -rf docs && \
Expand Down
3 changes: 0 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ android {
withSourcesJar()
}
}
lintOptions {
baseline file("lint-baseline.xml")
}
}

ext {
Expand Down
1 change: 1 addition & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"openApiNullable" : false,
"apiVersion" :"application/vnd.conekta-v2.1.0+json",
"templateDir": "local/templates",
"androidGradleVersion": "7.3.1",
"files": {
"OasAnyTypeNotMapped.mustache" : {
"templateType": "SupportingFiles",
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 90bafbe

Please sign in to comment.