Skip to content

Commit 2bd443c

Browse files
authored
Remove deprecated Gradle features from samples (#582)
* Update javafx version * Replace compile with implementation * Replace http with https * Replace destinationDir with destinationDirectory * Change basename to archiveBasename * Replace compile with implementation * Update gradle-wrapper.properties
1 parent e0dec71 commit 2bd443c

File tree

194 files changed

+978
-978
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+978
-978
lines changed

analysis/analyze-hotspots/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.5'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
group = 'com.esri.samples'
@@ -22,7 +22,7 @@ repositories {
2222
url 'https://esri.bintray.com/arcgis'
2323
}
2424
maven {
25-
url 'http://olympus.esri.com/artifactory/arcgisruntime-repo'
25+
url 'https://olympus.esri.com/artifactory/arcgisruntime-repo'
2626
}
2727
}
2828

@@ -31,7 +31,7 @@ configurations {
3131
}
3232

3333
dependencies {
34-
compile "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
34+
implementation "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
3535
natives "com.esri.arcgisruntime:arcgis-java-jnilibs:$arcgisVersion"
3636
natives "com.esri.arcgisruntime:arcgis-java-resources:$arcgisVersion"
3737
}
@@ -64,9 +64,9 @@ jar {
6464
task productionZip(type: Zip) {
6565
group = 'distribution'
6666
from copyNatives
67-
from jar.destinationDir
67+
from jar.destinationDirectory
6868
into (project.name)
69-
baseName = project.name
69+
archiveBaseName = project.name
7070
}
7171

7272
wrapper {

analysis/distance-measurement-analysis/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.5'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
group = 'com.esri.samples'
@@ -22,7 +22,7 @@ repositories {
2222
url 'https://esri.bintray.com/arcgis'
2323
}
2424
maven {
25-
url 'http://olympus.esri.com/artifactory/arcgisruntime-repo'
25+
url 'https://olympus.esri.com/artifactory/arcgisruntime-repo'
2626
}
2727
}
2828

@@ -31,7 +31,7 @@ configurations {
3131
}
3232

3333
dependencies {
34-
compile "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
34+
implementation "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
3535
natives "com.esri.arcgisruntime:arcgis-java-jnilibs:$arcgisVersion"
3636
natives "com.esri.arcgisruntime:arcgis-java-resources:$arcgisVersion"
3737
}
@@ -64,9 +64,9 @@ jar {
6464
task productionZip(type: Zip) {
6565
group = 'distribution'
6666
from copyNatives
67-
from jar.destinationDir
67+
from jar.destinationDirectory
6868
into (project.name)
69-
baseName = project.name
69+
archiveBaseName = project.name
7070
}
7171

7272
wrapper {

analysis/line-of-sight-geoelement/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.5'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
group = 'com.esri.samples'
@@ -22,7 +22,7 @@ repositories {
2222
url 'https://esri.bintray.com/arcgis'
2323
}
2424
maven {
25-
url 'http://olympus.esri.com/artifactory/arcgisruntime-repo'
25+
url 'https://olympus.esri.com/artifactory/arcgisruntime-repo'
2626
}
2727
}
2828

@@ -31,7 +31,7 @@ configurations {
3131
}
3232

3333
dependencies {
34-
compile "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
34+
implementation "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
3535
natives "com.esri.arcgisruntime:arcgis-java-jnilibs:$arcgisVersion"
3636
natives "com.esri.arcgisruntime:arcgis-java-resources:$arcgisVersion"
3737
}
@@ -67,9 +67,9 @@ task productionZip(type: Zip) {
6767
into "samples-data"
6868
}
6969
from copyNatives
70-
from jar.destinationDir
70+
from jar.destinationDirectory
7171
into (project.name)
72-
baseName = project.name
72+
archiveBaseName = project.name
7373
}
7474

7575
wrapper {

analysis/line-of-sight-location/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.5'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
group = 'com.esri.samples'
@@ -22,7 +22,7 @@ repositories {
2222
url 'https://esri.bintray.com/arcgis'
2323
}
2424
maven {
25-
url 'http://olympus.esri.com/artifactory/arcgisruntime-repo'
25+
url 'https://olympus.esri.com/artifactory/arcgisruntime-repo'
2626
}
2727
}
2828

@@ -31,7 +31,7 @@ configurations {
3131
}
3232

3333
dependencies {
34-
compile "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
34+
implementation "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
3535
natives "com.esri.arcgisruntime:arcgis-java-jnilibs:$arcgisVersion"
3636
natives "com.esri.arcgisruntime:arcgis-java-resources:$arcgisVersion"
3737
}
@@ -64,9 +64,9 @@ jar {
6464
task productionZip(type: Zip) {
6565
group = 'distribution'
6666
from copyNatives
67-
from jar.destinationDir
67+
from jar.destinationDirectory
6868
into (project.name)
69-
baseName = project.name
69+
archiveBaseName = project.name
7070
}
7171

7272
wrapper {

analysis/viewshed-camera/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.5'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
group = 'com.esri.samples'
@@ -22,7 +22,7 @@ repositories {
2222
url 'https://esri.bintray.com/arcgis'
2323
}
2424
maven {
25-
url 'http://olympus.esri.com/artifactory/arcgisruntime-repo'
25+
url 'https://olympus.esri.com/artifactory/arcgisruntime-repo'
2626
}
2727
}
2828

@@ -31,7 +31,7 @@ configurations {
3131
}
3232

3333
dependencies {
34-
compile "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
34+
implementation "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
3535
natives "com.esri.arcgisruntime:arcgis-java-jnilibs:$arcgisVersion"
3636
natives "com.esri.arcgisruntime:arcgis-java-resources:$arcgisVersion"
3737
}
@@ -64,9 +64,9 @@ jar {
6464
task productionZip(type: Zip) {
6565
group = 'distribution'
6666
from copyNatives
67-
from jar.destinationDir
67+
from jar.destinationDirectory
6868
into (project.name)
69-
baseName = project.name
69+
archiveBaseName = project.name
7070
}
7171

7272
wrapper {

analysis/viewshed-geoelement/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.5'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
group = 'com.esri.samples'
@@ -22,7 +22,7 @@ repositories {
2222
url 'https://esri.bintray.com/arcgis'
2323
}
2424
maven {
25-
url 'http://olympus.esri.com/artifactory/arcgisruntime-repo'
25+
url 'https://olympus.esri.com/artifactory/arcgisruntime-repo'
2626
}
2727
}
2828

@@ -31,7 +31,7 @@ configurations {
3131
}
3232

3333
dependencies {
34-
compile "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
34+
implementation "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
3535
natives "com.esri.arcgisruntime:arcgis-java-jnilibs:$arcgisVersion"
3636
natives "com.esri.arcgisruntime:arcgis-java-resources:$arcgisVersion"
3737
}
@@ -67,9 +67,9 @@ task productionZip(type: Zip) {
6767
into "samples-data"
6868
}
6969
from copyNatives
70-
from jar.destinationDir
70+
from jar.destinationDirectory
7171
into (project.name)
72-
baseName = project.name
72+
archiveBaseName = project.name
7373
}
7474

7575
wrapper {

analysis/viewshed-geoprocessing/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.5'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
group = 'com.esri.samples'
@@ -22,7 +22,7 @@ repositories {
2222
url 'https://esri.bintray.com/arcgis'
2323
}
2424
maven {
25-
url 'http://olympus.esri.com/artifactory/arcgisruntime-repo'
25+
url 'https://olympus.esri.com/artifactory/arcgisruntime-repo'
2626
}
2727
}
2828

@@ -31,7 +31,7 @@ configurations {
3131
}
3232

3333
dependencies {
34-
compile "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
34+
implementation "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
3535
natives "com.esri.arcgisruntime:arcgis-java-jnilibs:$arcgisVersion"
3636
natives "com.esri.arcgisruntime:arcgis-java-resources:$arcgisVersion"
3737
}
@@ -64,9 +64,9 @@ jar {
6464
task productionZip(type: Zip) {
6565
group = 'distribution'
6666
from copyNatives
67-
from jar.destinationDir
67+
from jar.destinationDirectory
6868
into (project.name)
69-
baseName = project.name
69+
archiveBaseName = project.name
7070
}
7171

7272
wrapper {

analysis/viewshed-location/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.5'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
group = 'com.esri.samples'
@@ -22,7 +22,7 @@ repositories {
2222
url 'https://esri.bintray.com/arcgis'
2323
}
2424
maven {
25-
url 'http://olympus.esri.com/artifactory/arcgisruntime-repo'
25+
url 'https://olympus.esri.com/artifactory/arcgisruntime-repo'
2626
}
2727
}
2828

@@ -31,7 +31,7 @@ configurations {
3131
}
3232

3333
dependencies {
34-
compile "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
34+
implementation "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
3535
natives "com.esri.arcgisruntime:arcgis-java-jnilibs:$arcgisVersion"
3636
natives "com.esri.arcgisruntime:arcgis-java-resources:$arcgisVersion"
3737
}
@@ -64,9 +64,9 @@ jar {
6464
task productionZip(type: Zip) {
6565
group = 'distribution'
6666
from copyNatives
67-
from jar.destinationDir
67+
from jar.destinationDirectory
6868
into (project.name)
69-
baseName = project.name
69+
archiveBaseName = project.name
7070
}
7171

7272
wrapper {

display_information/add-graphics-with-renderer/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.5'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
group = 'com.esri.samples'
@@ -22,7 +22,7 @@ repositories {
2222
url 'https://esri.bintray.com/arcgis'
2323
}
2424
maven {
25-
url 'http://olympus.esri.com/artifactory/arcgisruntime-repo'
25+
url 'https://olympus.esri.com/artifactory/arcgisruntime-repo'
2626
}
2727
}
2828

@@ -31,7 +31,7 @@ configurations {
3131
}
3232

3333
dependencies {
34-
compile "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
34+
implementation "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
3535
natives "com.esri.arcgisruntime:arcgis-java-jnilibs:$arcgisVersion"
3636
natives "com.esri.arcgisruntime:arcgis-java-resources:$arcgisVersion"
3737
}
@@ -64,9 +64,9 @@ jar {
6464
task productionZip(type: Zip) {
6565
group = 'distribution'
6666
from copyNatives
67-
from jar.destinationDir
67+
from jar.destinationDirectory
6868
into (project.name)
69-
baseName = project.name
69+
archiveBaseName = project.name
7070
}
7171

7272
wrapper {

display_information/add-graphics-with-symbols/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'application'
3-
id 'org.openjfx.javafxplugin' version '0.0.5'
3+
id 'org.openjfx.javafxplugin' version '0.0.8'
44
}
55

66
group = 'com.esri.samples'
@@ -22,7 +22,7 @@ repositories {
2222
url 'https://esri.bintray.com/arcgis'
2323
}
2424
maven {
25-
url 'http://olympus.esri.com/artifactory/arcgisruntime-repo'
25+
url 'https://olympus.esri.com/artifactory/arcgisruntime-repo'
2626
}
2727
}
2828

@@ -31,7 +31,7 @@ configurations {
3131
}
3232

3333
dependencies {
34-
compile "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
34+
implementation "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
3535
natives "com.esri.arcgisruntime:arcgis-java-jnilibs:$arcgisVersion"
3636
natives "com.esri.arcgisruntime:arcgis-java-resources:$arcgisVersion"
3737
}
@@ -64,9 +64,9 @@ jar {
6464
task productionZip(type: Zip) {
6565
group = 'distribution'
6666
from copyNatives
67-
from jar.destinationDir
67+
from jar.destinationDirectory
6868
into (project.name)
69-
baseName = project.name
69+
archiveBaseName = project.name
7070
}
7171

7272
wrapper {

0 commit comments

Comments
 (0)