Skip to content
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

Replace deprecated gradle dependency example in docs #2000

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Replace deprecated gradle dependency example in docs
Minimal change to the documentation, replacing the gradle examples usage
of compile with implementation.

> The usage of the compile and runtime configurations in the Java ecosystem plugins has been discouraged since Gradle 3.4.
https://docs.gradle.org/current/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
  • Loading branch information
EricLemieux committed Jul 24, 2020
commit 4d52ca047942b78def154a99e9e1463e9377f969
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ To add the HAPI library via Gradle, you should add the [hapi-fhir-android](https

```groovy
dependencies {
compile "ca.uhn.hapi.fhir:hapi-fhir-android:3.1.0-SNAPSHOT"
compile "ca.uhn.hapi.fhir:hapi-fhir-structures-dstu2:3.1.0-SNAPSHOT"
implementation "ca.uhn.hapi.fhir:hapi-fhir-android:3.1.0-SNAPSHOT"
implementation "ca.uhn.hapi.fhir:hapi-fhir-structures-dstu2:3.1.0-SNAPSHOT"
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ Note that if you wish to perform validation, you may also want to include the "v
If you are using Gradle, you may use the following dependencies. Note that if you are doing Android development, you may want to use our [Android build](/docs/android/client.html) instead.

```groovy
compile 'ca.uhn.hapi.fhir:hapi-fhir-base:${project.version}'
compile 'ca.uhn.hapi.fhir:hapi-fhir-structures-dstu2:${project.version}'
compile 'ca.uhn.hapi.fhir:hapi-fhir-structures-r4:${project.version}'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-base:${project.version}'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-structures-dstu2:${project.version}'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-structures-r4:${project.version}'
```

<a name="snapshot"/>
Expand Down