Thursday, 30 January 2020

gradle 6.0 warnings

いろいろつまらないwarningを出してくる... 動くんだけど、0.7 で殺すぞっていう脅しですね。

でも、

  該当行を消すだけでなんとかなるらしい

がしかし、最後の二つは、

  apply plugin: "edu.sc.seis.macAppBundle"

が出しているらしく、どうしようもないっぽいです。macAppBundle も Java10/11 では動かないとか issue は上がってるみたい。

乗り切れるかどうかは謎。Macの.appを作るだけなので、使わないと言う手も。

いや、そろそろ Java 捨てたいんですが...

The viewerSwingCompile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the viewerSwingImplementation configuration instead.
    at build_9r3pqfa3ix1n4hozu4v0pudxa$_run_closure5.doCall(/Users/kono/src/workspace/TreeVNC/build.gradle:59)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the implementation configuration instead.
    at build_9r3pqfa3ix1n4hozu4v0pudxa$_run_closure5.doCall(/Users/kono/src/workspace/TreeVNC/build.gradle:60)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The baseName property has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the archiveBaseName property instead.
    at build_9r3pqfa3ix1n4hozu4v0pudxa$_run_closure6.doCall(/Users/kono/src/workspace/TreeVNC/build.gradle:70)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The version property has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the archiveVersion property instead.
    at build_9r3pqfa3ix1n4hozu4v0pudxa$_run_closure6.doCall(/Users/kono/src/workspace/TreeVNC/build.gradle:71)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The viewerSwingRuntime configuration has been deprecated for resolution. This will fail with an error in Gradle 7.0. Please resolve the viewerSwingRuntimeClasspath configuration instead.
    at build_9r3pqfa3ix1n4hozu4v0pudxa$_run_closure6.doCall(/Users/kono/src/workspace/TreeVNC/build.gradle:75)
    (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The destinationDir property has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the destinationDirectory property instead.
The archiveName property has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the archiveFileName property instead.

No comments: