cuba-platform / cuba-gradle-plugin

Gradle plugin for building CUBA platform and applications
https://www.cuba-platform.com
Apache License 2.0
15 stars 18 forks source link

Support and use modern types of gradle dependencies #116

Open alexbudarov opened 5 years ago

alexbudarov commented 5 years ago

Environment

Description of the bug or enhancement

Gradle 4 docs mention new names for dependencies in Java projects: https://docs.gradle.org/4.10.3/userguide/building_java_projects.html#sec:java_dependency_management_overview

No "compile", no "runtime", no "provided". We are using obsolete names, contradicting to modern docs.

search.maven.org also suggest new type of dependency: image

However CUBA build scripts currently do not support these dependencies. Known problems:

dtsaryov commented 4 years ago

We've already replaced provided configuration before. Will support runtimeOnly / testRuntimeOnly and implementation / testImplementation.