How do I tell this minecraft fabric mod to use modmenu-2.0.14? - minecraft-fabric

I want to update this mod (https://github.com/LambdAurora/MCPatcherPatcher) to minecraft version 1.17.1, and I have learned much already. If you had asked me a week ago what gradle was or how github works, I would have given you a blank stare. I have come to a point where I'm stuck in updating this mod:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':fabric'.
> Could not resolve all dependencies for configuration ':fabric:modImplementation'.
> Could not find com.terraformersmc:modmenu:2.0.14.
Searched in the following locations:
- file:/C:/Users/thijm/.m2/repository/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- https://repo.maven.apache.org/maven2/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- https://aperlambda.github.io/maven/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- file:/C:/Users/thijm/Desktop/test 1171/nieuw3/MCPatcherPatcher-main/.gradle/loom-cache/remapped_mods/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- https://maven.fabricmc.net/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- https://libraries.minecraft.net/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
- file:/C:/Users/thijm/.gradle/caches/fabric-loom/2.0.14/modmenu.jar
- file:/C:/Users/thijm/Desktop/test 1171/nieuw3/MCPatcherPatcher-main/.gradle/loom-cache/2.0.14/modmenu.jar
- https://server.bbkr.space/artifactory/libs-snapshot/com/terraformersmc/modmenu/2.0.14/modmenu-2.0.14.pom
Required by:
project :fabric
I think the mod needs this pom file [https://maven.terraformersmc.com/releases/com/terraformersmc/modmenu/2.0.14], but I don't know how to tell it where to find this file. I would really appriciate all help, thanks :)

You'll need to add the maven repository to the repositories section of your build.gradle file:
repositories {
maven {
url "https://maven.terraformersmc.com/releases"
}
}

Related

shuftipro_sdk: ^1.2.2 git not working for me https://pub.dev/packages/shuftipro_sdk

FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:mergeDebugAssets'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.github.shuftipro:ShuftiPro_SDK:0.2.6.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/shuftipro/ShuftiPro_SDK/0.2.6/ShuftiPro_SDK-0.2.6.pom
- https://repo.maven.apache.org/maven2/com/github/shuftipro/ShuftiPro_SDK/0.2.6/ShuftiPro_SDK-0.2.6.pom
- https://storage.googleapis.com/download.flutter.io/com/github/shuftipro/ShuftiPro_SDK/0.2.6/ShuftiPro_SDK-0.2.6.pom
- https://jcenter.bintray.com/com/github/shuftipro/ShuftiPro_SDK/0.2.6/ShuftiPro_SDK-0.2.6.pom
- file:/C:/Users/Toshiba/AppData/Local/Pub/Cache/hosted/pub.dev/shuftipro_sdk-1.2.2/android/libs/ShuftiPro_SDK-0.2.6.jar
- file:/C:/Users/Toshiba/AppData/Local/Pub/Cache/hosted/pub.dev/shuftipro_sdk-1.2.2/android/libs/ShuftiPro_SDK.jar
Required by:
project :app > project :shuftipro_sdk
I want to implement shuftipro so I am using shuftipro_sdk: ^1.2.2 but it's though above issue in that git project, so any one help me to fix this issue

Failed to resolve packages. Failed to add editor bundled package --> Circle Ci

I've been having this problem for about a week now and I don't know what to do. I always build to project with flatman. I tried everything but it didn't work. Please help.
and manifest files have these
["com.unity.buy": "4.3.0",
"com.unity.purchasing.udp": "2.0.0",][1]
https://i.stack.imgur.com/GF1cg.png

What is the fix for could not resolve com.android.tools.build:gradle:4.0.1. in flutter vscode?

FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring project ':audioplayers'.
Could not resolve all artifacts for configuration ':audioplayers:classpath'.
Could not resolve com.android.tools.build:gradle:4.0.1.
Required by:
project :audioplayers
> Could not resolve com.android.tools.build:gradle:4.0.1.
> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/4.0.1/gradle-4.0.1.pom'.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/4.0.1/gradle-4.0.1.pom'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.2/userguide/build_environment.html#gradle_system_properties
> Remote host terminated the handshake
Failed to notify project evaluation listener.
Could not get unknown property 'android' for project ':audioplayers' of type org.gradle.api.Project.
Could not find method implementation() for arguments [project ':path_provider'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Need to enable other protocol versions for fetching from Maven repo, add the following
allowInsecureProtocol = true
in your project build.gradle file
repositories {
google()
mavenCentral(){
allowInsecureProtocol = true
}
}
This error when happening the android studio can not update the Gradle file from their servers see this link to solve here
You may need to specify protocols other than TLSv1.1, TLSv1.2 in gradle.properties.
e.g.
TLSv1.0 SSLv1.0 ...
Example:
systemProp.https.protocols=TLSv1.0,SSLv1.0,SSLv2.0,SSLv3.0

Google service version conflict

When I use these two plugins in ionic 1
cordova-plugin-fcm
cordova-plugin-googleplus
then this type of error occurs:
BUILD FAILED in 1s
11 actionable tasks: 1 executed, 10 up-to-date
Error: /home/idiosys/ionic/seeCheckFolder/SeeCheck/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':processDebugGoogleServices'.
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.0.
What can be the reason for these errors?
remove fcm, google plus
then install firebase plugin (https://ionicframework.com/docs/native/firebase/)
then install google plus.
remove and re-add android platform. it is work with me (ionic2).
Note: firebase contains notification functions , also with badge number : )
1 - Remove the entry from build.gradle:
// PLUGIN GRADLE EXTENSIONS START
apply from: "cordova-plugin-fcm/poc-FCMPlugin.gradle"
// PLUGIN GRADLE EXTENSIONS END
2 - specify proper versions for all other dependencies in project.properties file like:
cordova.system.library.1=com.google.firebase:firebase-core:10.2.0
cordova.system.library.2=com.google.firebase:firebase-messaging:10.2.0
cordova.system.library.3=com.google.android.gms:play-services-auth:10.2.0
cordova.system.library.4=com.google.android.gms:play-services-identity:10.2.0
3 - And bottom of build.gradle file add this line:
apply plugin: com.google.gms.googleservices.GoogleServicesPlugin
4 - Comment out all content of poc-fcmplugin.gradle file and instead of apply plugin: com.google.gms.googleservices.GoogleServicesPlugin use:
apply plugin: 'com.google.gms.google-services'
5 - Add classpath for google services in build.gradle classpath section like:
classpath 'com.google.gms:google-services:3.0.0'
Please refer to below mentioned app and make sure android dependencies are correct .
https://market.ionicframework.com/starters/ionic-google-plus-fcm-and-ad-banner
implementation "com.google.android.gms:play-services-auth:10.+"
implementation "com.google.android.gms:play-services-identity:10.+"
implementation "com.android.support:support-annotations:27.+"
implementation "com.google.firebase:firebase-core:10.+"
implementation "com.google.firebase:firebase-messaging:10.+"
implementation "com.google.android.gms:play-services-base:10.+"
implementation "com.google.android.gms:play-services-ads:10.+"

SonarQube Eclipse plugin doesn't follow Eclipse links, and "sonar.sources" must be relative path

Eclipse: "Luna" Release 2 (4.4.2) [20150219-0600]
Sonar: 5.1 (under Java 1.7.0_76)
Sonar Eclipse plugin: 3.5.0.20150804-1512-RELEASE
We have a large Enterprise system with many projects, and for various non-negotiable reasons we create our Eclipse projects in a local workspace directory but use Eclipse links to point to the sources in another directory.
For example, assume that my Foo project is based in "C:/EclipseWorkspace/Foo" and has an "src" link at the top level like this:
C:/EclipseWorkspace/Foo/src -> C:/CodeRepository/Foo/src
I wanted to have the following very simple setup for the plugin:
sonar.sources = C:/CodeRepository/Foo/src
The problem is, the Sonar Eclipse plugin does not appear to support using an absolute path. When I run an analysis I get the following error on the console:
Retrieve remote issues of project Foo...
Start SonarQube analysis on Foo...
INFO: SonarQube Server 5.1
17:16:18.565 INFO - Incremental mode
17:16:18.609 INFO - Load global repositories
17:16:18.862 INFO - Load global repositories (done) | time=253ms
17:16:18.863 INFO - Server id: 20150910100331
17:16:18.865 INFO - User cache: C:\Users\eryq\.sonar\cache
17:16:18.870 INFO - Install plugins
17:16:18.894 INFO - Include plugins:
17:16:18.894 INFO - Exclude plugins: devcockpit, buildstability, pdfreport, report, buildbreaker, views, jira
17:16:19.375 ERROR - Invalid value of sonar.sources for Foo
Exception in thread "main" org.sonar.runner.impl.RunnerException: Unable to execute Sonar
...
Caused by: java.lang.IllegalStateException: The folder 'C:/CodeRepository/Foo/src' does not exist for 'Foo' (base directory = C:\EclipseWorkspace\Foo)
at org.sonar.batch.scan.ProjectReactorBuilder.checkExistenceOfPaths(ProjectReactorBuilder.java:427)
at ...
Notice that last line:
The folder 'C:/CodeRepository/Foo/src' does not exist for 'Foo' (base
directory = C:\EclipseWorkspace\Foo)
Since the Eclipse plugin does not allow me to override the projectBaseDir, how do I make it understand that the sonar.sources are actually in another directory outside that tree? This seems like a plugin bug: if I need to point to a list of sources directories, the plugin should let me specify absolute paths if needed.
Thanks in advance,
Eryq
This is not specific to SonarQube Eclipse and not related to absolute path: any SonarQube analysis requires to have source folders located under the project baseDir.
Allowing you to override sonar.projectBaseDir is an easy fix. But I'm not sure this would not lead to other issues later when issues are mapped to Eclipse resources... Feel free to test and submit a pull request.