-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat android response models #299
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Looks good. Would be great if you could push generated SDK in the sdk repo in a branch so that we can review that as well 🙏🏻
@@ -77,7 +77,7 @@ class SDKTest extends TestCase | |||
'chmod +x tests/sdks/android/gradlew', | |||
], | |||
'envs' => [ | |||
'java-8' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/android alvrme/alpine-android:latest-jdk8 sh -c "./gradlew :library:testReleaseUnitTest -q && cat library/result.txt"', | |||
'java-11' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/android alvrme/alpine-android:latest-jdk11 sh -c "./gradlew :library:testReleaseUnitTest -q && cat library/result.txt"', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this no longer support java 8?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The library can still be used on Java 8 - we are just compiling with 11 (stable Android Studio does now too)
@lohanidamodar I've pushed a snapshot on dev 🙂 |
ext.kotlin_version = "1.4.31" | ||
version '{{ sdk.version }}' | ||
ext.kotlin_version = "1.5.31" | ||
version "{{ sdk.version }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are double quotes and single quotes treated similarly ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep they are the same except allow for interpolation. I changed for consistency but I see there's other I missed anyway
…se-models # Conflicts: # templates/android/library/src/main/java/io/appwrite/Client.kt.twig
Add Android response models
Update dependencies
Update to Java 11
Target Android 12