hello guys! i feel so nervous with this. i am stud...
# android
j
hello guys! i feel so nervous with this. i am studying tensorflow lite on android studio with kotlin. the project file that i'm referring has fully different gradle file that i have seen before...
Copy code
plugins {
    id 'com.android.application' version '7.1.3' apply false
    id 'com.android.library' version '7.1.3' apply false
    id 'org.jetbrains.kotlin.android' version '1.6.21' apply false
    
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
this is the original one when i opened a new project,
Copy code
buildscript {
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:7.0.4"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        maven { url "<https://jitpack.io>" }
    }
}
and this is from the project file that i'm referring. so what i am wondering about is: why the author erased plugins {}, and has buildscript {} and allprojects{}. plus, when i copy and paste that on the new project that i have made, i get the error. (i will attach the error field that i have.) oh, btw this is the gradle for project. thanks. 😅