Skip to content

Commit

Permalink
Release 1.0.0 (#1295)
Browse files Browse the repository at this point in the history
* Release 1.0.0

* Update readme

* Update readme
  • Loading branch information
sav007 authored May 14, 2019
1 parent 8eaa80e commit a19c7a3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,14 @@ Apollo-Android is designed primarily with Android in mind but you can use it in
- [Consuming Code](#consuming-code)
- [Custom Scalar Types](#custom-scalar-types)
- [Support For Cached Responses](#support-for-cached-responses)
- [Usage](#usage)
- [RxJava Support](#rxjava-support)
- [Usage](#usage-1)
- [Gradle Configuration of Apollo Android](#gradle-configuration-of-apollo-android)
- [Optional Support](#optional-support)
- [Usage](#usage-2)
- [Semantic Naming](#semantic-naming)
- [Usage](#usage-3)
- [Java Beans Semantic Naming for Accessors](#java-beans-semantic-naming-for-accessors)
- [Usage](#usage-4)
- [Explicit Schema location](#explicit-schema-location)
- [Usage](#usage-5)
- [Use system pre-installed apollo-codegen](#use-system-pre-installed-apollo-codegen)
- [Kotlin model generation (experimental)](#kotlin-model-generation-experimental)
- [Download](#download)
- [License](#license)

Expand Down Expand Up @@ -537,6 +533,16 @@ systemProp.apollographql.useGlobalApolloCodegen=true

Note that this requires exactly version `0.19.1` (not older, not newer). You can install this conventionally via `npm install -g apollo-codegen@0.19.1`.

### Kotlin model generation (experimental)
By default Apollo Gradle plugin generates Java models but you can configure it to generate Kotlin models instead:
```groovy
apollo {
generateKotlinModels = true
}
```

It is still an experimental and not finalized yet. The structure of generated models is subject to change.

### Download

RxJava1:
Expand Down
10 changes: 10 additions & 0 deletions upload_archives.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
./gradlew clean :apollo-android-support:bintrayUpload
./gradlew clean :apollo-api:bintrayUpload
./gradlew clean :apollo-compiler:bintrayUpload
./gradlew clean :apollo-coroutines-support:bintrayUpload
./gradlew clean :apollo-espresso-support:bintrayUpload
./gradlew clean :apollo-gradle-plugin:bintrayUpload
./gradlew clean :apollo-http-cache:bintrayUpload
./gradlew clean :apollo-runtime:bintrayUpload
./gradlew clean :apollo-rx2-support:bintrayUpload
./gradlew clean :apollo-rx-support:bintrayUpload

0 comments on commit a19c7a3

Please sign in to comment.