gradle

How to use pom type dependency in Gradle

佐手、 提交于 2020-12-11 04:54:07
问题 I need to produce transitive dependency from my Java library which is of type pom. Here is an example on how I'm doing it: plugins { `java-library` `maven-publish` } repositories { // some maven repo } dependencies { // This is POM type dependency: api("org.apache.sshd:apache-sshd:1.6.0") { exclude(group = "org.slf4j") } } publications { create<MavenPublication>("maven") { from(components["java"]) } } The problem with this configuration is that in the published pom.xml of my library the

How to use pom type dependency in Gradle

倖福魔咒の 提交于 2020-12-11 04:49:36
问题 I need to produce transitive dependency from my Java library which is of type pom. Here is an example on how I'm doing it: plugins { `java-library` `maven-publish` } repositories { // some maven repo } dependencies { // This is POM type dependency: api("org.apache.sshd:apache-sshd:1.6.0") { exclude(group = "org.slf4j") } } publications { create<MavenPublication>("maven") { from(components["java"]) } } The problem with this configuration is that in the published pom.xml of my library the

How to use pom type dependency in Gradle

故事扮演 提交于 2020-12-11 04:46:38
问题 I need to produce transitive dependency from my Java library which is of type pom. Here is an example on how I'm doing it: plugins { `java-library` `maven-publish` } repositories { // some maven repo } dependencies { // This is POM type dependency: api("org.apache.sshd:apache-sshd:1.6.0") { exclude(group = "org.slf4j") } } publications { create<MavenPublication>("maven") { from(components["java"]) } } The problem with this configuration is that in the published pom.xml of my library the

How to use pom type dependency in Gradle

我与影子孤独终老i 提交于 2020-12-11 04:46:16
问题 I need to produce transitive dependency from my Java library which is of type pom. Here is an example on how I'm doing it: plugins { `java-library` `maven-publish` } repositories { // some maven repo } dependencies { // This is POM type dependency: api("org.apache.sshd:apache-sshd:1.6.0") { exclude(group = "org.slf4j") } } publications { create<MavenPublication>("maven") { from(components["java"]) } } The problem with this configuration is that in the published pom.xml of my library the

Connection to http://127.0.0.1:8888 refused in intellij

吃可爱长大的小学妹 提交于 2020-12-09 18:44:32
问题 I added to my gradle.build 2 dependencies: compile 'com.google.http-client:google-http-client' compile 'com.google.http-client:google-http-client-jackson2' I try to refresh from Intellij and I get an error: I try to build from cmd and I get this error: >Could not resolve com.google.http-client:google-http-client:. Required by: :RoutingRegression:1.0 > Could not GET 'http://www.hibernatespatial.org/repository/com/google/http-client/google-http-client//google-http-client-.pom'. > Connection to

Connection to http://127.0.0.1:8888 refused in intellij

痞子三分冷 提交于 2020-12-09 18:44:21
问题 I added to my gradle.build 2 dependencies: compile 'com.google.http-client:google-http-client' compile 'com.google.http-client:google-http-client-jackson2' I try to refresh from Intellij and I get an error: I try to build from cmd and I get this error: >Could not resolve com.google.http-client:google-http-client:. Required by: :RoutingRegression:1.0 > Could not GET 'http://www.hibernatespatial.org/repository/com/google/http-client/google-http-client//google-http-client-.pom'. > Connection to

Connection to http://127.0.0.1:8888 refused in intellij

烂漫一生 提交于 2020-12-09 18:44:05
问题 I added to my gradle.build 2 dependencies: compile 'com.google.http-client:google-http-client' compile 'com.google.http-client:google-http-client-jackson2' I try to refresh from Intellij and I get an error: I try to build from cmd and I get this error: >Could not resolve com.google.http-client:google-http-client:. Required by: :RoutingRegression:1.0 > Could not GET 'http://www.hibernatespatial.org/repository/com/google/http-client/google-http-client//google-http-client-.pom'. > Connection to

Connection to http://127.0.0.1:8888 refused in intellij

主宰稳场 提交于 2020-12-09 18:40:40
问题 I added to my gradle.build 2 dependencies: compile 'com.google.http-client:google-http-client' compile 'com.google.http-client:google-http-client-jackson2' I try to refresh from Intellij and I get an error: I try to build from cmd and I get this error: >Could not resolve com.google.http-client:google-http-client:. Required by: :RoutingRegression:1.0 > Could not GET 'http://www.hibernatespatial.org/repository/com/google/http-client/google-http-client//google-http-client-.pom'. > Connection to

Gradle sub-sub-projects with same name in does not work for eclipse

喜你入骨 提交于 2020-12-09 04:00:04
问题 I have the following structure root |- foo | |- implementation | | \- build.gradle | \- interface | \- build.gradle | |- bar | |- implementation | | \- build.gradle | \- interface | \- build.gradle | |- build.gradle \- settings.gradle in settings.gradle I have the following: include ':foo:implementation', ':foo:interface' include ':bar:implementation', ':bar:interface' in my build.gradle on the root folder I put all of them as a dependency dependencies { compile project(':foo:implementation')

Gradle sub-sub-projects with same name in does not work for eclipse

ε祈祈猫儿з 提交于 2020-12-09 03:59:23
问题 I have the following structure root |- foo | |- implementation | | \- build.gradle | \- interface | \- build.gradle | |- bar | |- implementation | | \- build.gradle | \- interface | \- build.gradle | |- build.gradle \- settings.gradle in settings.gradle I have the following: include ':foo:implementation', ':foo:interface' include ':bar:implementation', ':bar:interface' in my build.gradle on the root folder I put all of them as a dependency dependencies { compile project(':foo:implementation')