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

May I ask why I can't add kapt plugin #38

Open
Seaside-G opened this issue May 18, 2024 · 1 comment
Open

May I ask why I can't add kapt plugin #38

Seaside-G opened this issue May 18, 2024 · 1 comment

Comments

@Seaside-G
Copy link

plugins {
alias(libs.plugins.androidApplication)
alias(libs.plugins.jetbrainsKotlinAndroid)
}
apply( plugin = "com.android.application")
apply( plugin = "kotlin-android")
apply( plugin = "kotlin-kapt")

android {
namespace = "com.example.jetpacktest"
compileSdk = 34

buildFeatures {
    viewBinding = true
}

defaultConfig {
    applicationId = "com.example.jetpacktest"
    minSdk = 21
    targetSdk = 34
    versionCode = 1
    versionName = "1.0"

    testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
    release {
        isMinifyEnabled = false
        proguardFiles(
            getDefaultProguardFile("proguard-android-optimize.txt"),
            "proguard-rules.pro"
        )
    }
}
compileOptions {
    sourceCompatibility = JavaVersion.VERSION_1_8
    targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
    jvmTarget = "1.8"
}

}

dependencies {
implementation ("androidx.lifecycle:lifecycle-livedata-ktx:2.2.0")
implementation("androidx.lifecycle:lifecycle-extensions:2.2.0")
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.activity)
implementation(libs.androidx.constraintlayout)
implementation("androidx.room:room-runtime:2.1.0")
kapt ("androidx.lifecycle:lifecycle-compiler:$lifecycle_version")
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
}
image

@rbygrave
Copy link
Contributor

I don't understand the question. I don't know how this relates the ebean-gradle-plugin.

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

2 participants