Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve dev.buijs.klutter:bom:2024.1.3.beta. Could not parse POM https://repsy.io/mvn/buijs-dev/klutter/dev/buijs/klutter/bom/2024.1.3.beta/bom-2024.1.3.beta.pom #22

Open
HongYouding opened this issue Dec 5, 2024 · 5 comments

Comments

@HongYouding
Copy link

I am facing issue which i cannot access to the file url as in the title. The gradle cache download fail which lead to currupted pom file.
bom-2024.1.3.beta.txt . This is the cache file I've got following gradle.

@buijs-dev
Copy link
Owner

Im not sure how I can help you with this. I checked the maven repository and the artifacts are still there and valid. Maybe start a new project and try again?

@HongYouding
Copy link
Author

It's still not working. Do i need any additional project configuration in order to get access to this maven repo? This is what i've got when try to build project
Screenshot 2024-12-06.

@buijs-dev
Copy link
Owner

Ah you need to add the repsy repository to the gradle files. Did you create this project manually? You can check klutter-cookbook repo for the correct setup.

@HongYouding
Copy link
Author

HongYouding commented Dec 9, 2024

I checked and there is already repsy repo in gradle. I create this project through klutter:kradle command. Here are all gradle config
root/build.gradle.kts

`
buildscript {

repositories {
    gradlePluginPortal()
    google()
    mavenCentral()
    mavenLocal()
    gradlePluginPortal()
    maven { 
        url = uri("https://repsy.io/mvn/buijs-dev/klutter")
    }
}
dependencies {
    classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10")
    classpath("com.android.tools.build:gradle:8.0.2")
    classpath(platform("dev.buijs.klutter:bom:2024.1.3.beta"))
    classpath("dev.buijs.klutter:gradle")
}

}`

and android/build.gradle

buildscript { repositories { google() mavenCentral() maven { url = uri("https://repsy.io/mvn/buijs-dev/klutter") } mavenLocal() gradlePluginPortal() } dependencies { classpath platform("dev.buijs.klutter:bom:2024.1.3.beta") classpath "dev.buijs.klutter:gradle" classpath 'com.android.tools.build:gradle:8.0.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10" } } rootProject.allprojects { repositories { google() mavenCentral() maven { url = uri("https://repsy.io/mvn/buijs-dev/klutter") } mavenLocal() gradlePluginPortal() } }

and flutter doctor result

[✓] Flutter (Channel stable, 3.24.5, on macOS 15.1.1 24B91 darwin-arm64)
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision dec2ee5c1f (4 weeks ago), 2024-11-13 11:13:06 -0800
• Engine revision a18df97ca5
• Dart version 3.5.4
• DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0-rc1)
• Android SDK at /Users/youdiing/Library/Android/sdk
• Platform android-35, build-tools 36.0.0-rc1
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16B40
• CocoaPods version 1.16.2

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.95.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.102.0

@buijs-dev
Copy link
Owner

Can I access your project somewhere, a GitHub repo or zip it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants