gradle-plugin

Cannot find Plugin [id: 'com.github.johnrengelman.shadow', version: '5.2.0']

大兔子大兔子 提交于 2021-02-19 08:56:15
问题 I'm currently trying to create a simple discord bot. I finished the code and I'm trying to export it through shadow--> shadowJar. I keep getting this error message: Plugin [id: 'com.github.johnrengelman.shadow', version: '5.2.0'] was not found in any of the following sources: Gradle Core Plugins (plugin is not in 'org.gradle' namespace) Plugin Repositories (could not resolve plugin artifact 'com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:5.2.0') Searched in the

Android Studio 3.1 : Could not find org.jetbrains.trove4j:trove4j:20160824

自古美人都是妖i 提交于 2021-02-18 19:55:09
问题 Yesterday, I updated Android Studio to 3.1 and I'm getting this error : Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations: https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://dl.google.com/dl/android/maven2

Android Studio 3.1 : Could not find org.jetbrains.trove4j:trove4j:20160824

青春壹個敷衍的年華 提交于 2021-02-18 19:54:40
问题 Yesterday, I updated Android Studio to 3.1 and I'm getting this error : Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations: https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://dl.google.com/dl/android/maven2

Android Studio 3.1 : Could not find org.jetbrains.trove4j:trove4j:20160824

北战南征 提交于 2021-02-18 19:54:06
问题 Yesterday, I updated Android Studio to 3.1 and I'm getting this error : Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations: https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://dl.google.com/dl/android/maven2

Is there a Gradle plugin equivalent of “mvn dependency:analyze”?

99封情书 提交于 2021-02-08 17:00:33
问题 I want to analyze my project dependencies.Is there a Gradle plugin equivalent to mvn dependency:analyze which will analyzes the dependencies of this project and produces a report that summarizes which are: used and declared; used and undeclared; unused and declared 回答1: There is a gradle-dependency-analyze plugin you can try to use. It analyses your project dependencies and fails a build if dependencies are declared but not used or used but not declared. You can declare it as follows:

Is there a Gradle plugin equivalent of “mvn dependency:analyze”?

江枫思渺然 提交于 2021-02-08 16:59:20
问题 I want to analyze my project dependencies.Is there a Gradle plugin equivalent to mvn dependency:analyze which will analyzes the dependencies of this project and produces a report that summarizes which are: used and declared; used and undeclared; unused and declared 回答1: There is a gradle-dependency-analyze plugin you can try to use. It analyses your project dependencies and fails a build if dependencies are declared but not used or used but not declared. You can declare it as follows:

Is there a Gradle plugin equivalent of “mvn dependency:analyze”?

人走茶凉 提交于 2021-02-08 16:58:34
问题 I want to analyze my project dependencies.Is there a Gradle plugin equivalent to mvn dependency:analyze which will analyzes the dependencies of this project and produces a report that summarizes which are: used and declared; used and undeclared; unused and declared 回答1: There is a gradle-dependency-analyze plugin you can try to use. It analyses your project dependencies and fails a build if dependencies are declared but not used or used but not declared. You can declare it as follows:

Pass env variables to gradle.properties

强颜欢笑 提交于 2021-02-05 11:31:07
问题 I have a property set like this: url=localhost:3206 Is there a way to specifiy this like below instead: url=${hostname}:3206 回答1: I don't think gradle.properties supports interpolation. However, I would suggest an alternative means to accomplishing this: Have the following in your gradle.properties: hostname=localhost port=3206 Somewhere in your build.gradle, do the following: beforeEvaluate { ext.url = "$hostname:$port" } To configure the hostname or port, you have several options. I prefer

How to import and run 3rd party Jenkins Plugin's extension DSL (githubPullRequest) with Gradle tool locally?

走远了吗. 提交于 2021-01-01 03:41:11
问题 I'm a newbie at Jenkins job-dsl scripting. I'm working to convert the Jenkins XML configuration to Groovy DSL script using a plugin (https://github.com/AOEpeople/gradle-jenkins-job-dsl-plugin) that uses Gradle tool for building the script and running Unit Test locally. However, currently, I'm facing an issue with the extension DSL from a 3rd Party Jenkins Plugin (https://github.com/jenkinsci/ghprb-plugin). triggers { githubPullRequest { orgWhitelist("Test") cron("H/5 * * * *") extensions {

How to import and run 3rd party Jenkins Plugin's extension DSL (githubPullRequest) with Gradle tool locally?

允我心安 提交于 2021-01-01 03:35:33
问题 I'm a newbie at Jenkins job-dsl scripting. I'm working to convert the Jenkins XML configuration to Groovy DSL script using a plugin (https://github.com/AOEpeople/gradle-jenkins-job-dsl-plugin) that uses Gradle tool for building the script and running Unit Test locally. However, currently, I'm facing an issue with the extension DSL from a 3rd Party Jenkins Plugin (https://github.com/jenkinsci/ghprb-plugin). triggers { githubPullRequest { orgWhitelist("Test") cron("H/5 * * * *") extensions {