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

gradle 설정 개선 #2

Open
fallendos opened this issue Mar 4, 2022 · 0 comments
Open

gradle 설정 개선 #2

fallendos opened this issue Mar 4, 2022 · 0 comments

Comments

@fallendos
Copy link

fallendos commented Mar 4, 2022

ExternalDependencyManager사용시
mainTemplate.gradle에

    implementation "org.jetbrains.kotlin:kotlin-stdlib:1.3.72"      // Kotlin
    implementation "androidx.viewpager2:viewpager2:1.0.0"           // Viewpager2
    implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"   //swiperefreshlayout
    implementation "com.github.bumptech.glide:glide:3.7.0"          // Glide
    implementation "com.squareup.retrofit2:retrofit:2.7.2"          // Retrofit2
    implementation "com.squareup.retrofit2:converter-gson:2.7.2"

을 따로 설정할 필요없이
Editor\Dependencies.xml을 생성하여

<?xml version="1.0" encoding="utf-8"?>
<dependencies>
    <androidPackages>
        <androidPackage spec="org.jetbrains.kotlin:kotlin-stdlib:1.3.72" />
        <androidPackage spec="androidx.viewpager2:viewpager2:1.0.0" />
        <androidPackage spec="androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" />
        <androidPackage spec="com.github.bumptech.glide:glide:3.7.0" />
        <androidPackage spec="com.squareup.retrofit2:retrofit:2.7.2" />
        <androidPackage spec="com.squareup.retrofit2:converter-gson:2.7.2" />
    </androidPackages>
</dependencies>

설정하면 mainTemplate.gradle 생성시 자동으로 등록됩니다.

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

1 participant