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

JCenter shutdown #36

Open
ys3669 opened this issue Feb 4, 2021 · 2 comments
Open

JCenter shutdown #36

ys3669 opened this issue Feb 4, 2021 · 2 comments
Labels

Comments

@ys3669
Copy link
Member

ys3669 commented Feb 4, 2021

本リポジトリへの影響

JCenter が2021年5月1日にシャットダウンすることになったので Android アプリエンジニア観点でメモをまとめた

リンク先にあるようにAGP(Android Gradle plugin)の依存先
現状AGPはv3.3.2 classpath 'com.android.tools.build:gradle:3.3.2'(最新4.1.2)
v4.1.3? or v4.2(現状beta04) 通常だとbata5->rc0(~5)->release のステップ
更新があり次第更新するor軽減方法の模索
要注視といったところ

build.gradle

  buildscript {
      ext.kotlin_version = '1.3.21'
      repositories {
-         jcenter()
          mavenCentral()
          maven {
              url "https://maven.springframework.org/release"
          }
          google()
      }
A problem occurred configuring root project 'sleeping_syar'.
> Could not resolve all artifacts for configuration ':classpath'.
   > 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://maven.springframework.org/release/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom
       - https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom
     Required by:
         project : > com.android.tools.build:gradle:4.1.0 > com.android.tools.build:builder:4.1.0 > com.android.tools:sdk-common:27.1.0

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
@ys3669 ys3669 added Type: Investigate \情報クダサイ/ Priority: High labels Feb 4, 2021
@ys3669
Copy link
Member Author

ys3669 commented Feb 5, 2021

easylauncher を忘れてた

/app/build.gradle

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.akaita.android:easylauncher:1.3.1'
    }

@shin19
Copy link
Member

shin19 commented Feb 13, 2021

シャットダウン日が2022年2月1日に変更

UPDATE: To better support the community in this migration, JFrog has extended the JCenter new package versions submission deadline through March 31st 2021.
To clarify, the JCenter repository will keep serving packages for 12 months until February 1st 2022. Only the JCenter REST API and UI will be sunsetted on May 1st 2021.
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

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

No branches or pull requests

2 participants