dev/aos

[AOS] Gradle Plugin, Version location

캄춰 2024. 1. 12. 12:00
728x90
반응형

플러그인

프로젝트 단위

- com.android.tools.build.gradle:8.1.0

(아마 File-Project Structure에서 바꿀 수 없어 당황했을듯)

buildscript {
    ext.kotlin_version = '1.6.21'

    repositories {
        google()
        mavenCentral()
        gradlePluginPortal()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:8.1.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
        // classpath 'com.android.tools.build:gradle:3.6.4'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }

 

 

Project Structure에서 실행할 gradle버전을 바꾸기도 하고

gadle / wrappter/gradle-wrapper.properties에서 바꾸기도 한다

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
728x90
반응형