라이브러리 버전
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
버전 15.0.0부터 Google Play 서비스 라이브러리가 유지됩니다.
이를 통해 각 라이브러리의 개발팀에서 수정사항을 제공할 수 있습니다.
독립적으로 더 빠르게 개선할 수 있습니다 최신
Google Play 서비스 버전
Firebase
엄격한 버전 매칭
한 라이브러리 한 버전이 다른 라이브러리의 특정 버전과 호환되지 않을 수도 있습니다.
찾을 수 있습니다. 이 상황을 처리하는 데 도움이 되도록 여러 Gradle 플러그인이
가이드를 참고하세요. 이러한 플러그인의 로직은
failOnVersionConflict()
규칙의 로직과 유사하게
ResolutionStrategy
Google Play 서비스 및 Firebase 종속 항목과 연결된
Google Play API 서비스 제공업체입니다
Google 서비스 플러그인
Google 서비스 Gradle 플러그인
Google Play 서비스 및 Firebase 라이브러리의 호환되는 버전 확인
독립형 버전 일치자 플러그인
Google 서비스 플러그인을 사용하지 않지만 여전히 엄격한 정책을 원하는 경우
종속 항목의 버전을 확인하고 싶다면
[strict-version-matcher-plugin
]. 이 플러그인의
GitHub의 코드를 참고하세요.
다음 코드 스니펫은 Gradle 플러그인을 추가하는 방법을 보여줍니다.
Kotlin DSL
build.gradle.kts
plugin {
id("com.google.android.gms.strict-version-matcher-plugin")
}
그루비 DSL
build.gradle
apply plugin: 'com.google.android.gms.strict-version-matcher-plugin'
이 플러그인을 사용하려면 다음을 추가해야 합니다.
Google Maven에서 가져온 buildscript 클래스 경로
저장소:
Kotlin DSL
build.gradle.kts
classpath("com.google.android.gms:strict-version-matcher-plugin:1.2.4")
그루비 DSL
build.gradle
classpath 'com.google.android.gms:strict-version-matcher-plugin:1.2.4'
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-11(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-09-11(UTC)"],[[["Google Play services libraries are now individually maintained, allowing for faster and more frequent updates to individual components."],["Strict version matching is crucial as library versions might be incompatible, and the Google Services Gradle plugin and the standalone strict-version-matcher-plugin help manage these dependencies."],["The `strict-version-matcher-plugin` offers a way to ensure version compatibility for Google Play services and Firebase dependencies, even without using the Google Services plugin."],["To utilize the standalone plugin, you need to add it to your buildscript classpath and apply it in your Gradle file using the provided code snippets."]]],[]]