我安装了prestoDB,并尝试连接到Mongodb,当我尝试查询Mongodb时,我看到以下问题:
com.github.jengelman.gradle.plugins:shadow:2.0.1
以下是我的配置属性:
5. Publishing Shadow JARs
5.1. Publishing with Maven-Publish Plugin
The Shadow plugin will automatically configure the necessary tasks
in the presence of Gradle’s maven-publish plugin. The plugin provides
the component method from the shadow extension to configure the
publication with the necessary artifact and dependencies in the
POM file.
Publishing a Shadow JAR with the Maven-Publish Plugin
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'com.github.johnrengelman.shadow'
publishing {
publications {
shadow(MavenPublication) { publication ->
project.shadow.component(publication)
}
}
repositories {
maven {
url "http://repo.myorg.com"
}
}
}