humazed / RoomAsset

A helper library to help using Room with existing pre-populated database [DEPRECATED].
Apache License 2.0
135 stars 23 forks source link

Problem with JAR Files #21

Closed lobothijau closed 5 years ago

lobothijau commented 5 years ago

This is my dependencies:

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'androidx.appcompat:appcompat:1.1.0-alpha01'
    implementation 'androidx.core:core-ktx:1.1.0-alpha03'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'com.google.android.material:material:1.1.0-alpha02'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
    implementation 'com.github.humazed:RoomAsset:1.0.3'
    implementation 'android.arch.lifecycle:extensions:1.1.1'
    implementation 'android.arch.lifecycle:viewmodel:1.1.1'
    kapt "android.arch.lifecycle:compiler:1.1.1"
    implementation "android.arch.persistence.room:runtime:$arch_version"
    annotationProcessor "android.arch.persistence.room:compiler:$arch_version"
    kapt "android.arch.persistence.room:compiler:$arch_version"
}

This is the error message:

w: /home/lobothijau/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jre7/1.2.31/98678431965f7487d6dc9b399e59b6c4b3921073/kotlin-stdlib-jre7-1.2.31.jar: kotlin-stdlib-jre7 is deprecated. Please use kotlin-stdlib-jdk7 instead

screenshot from 2019-01-20 22-03-04

I'm following the code from the sample, but it still doesn't work. I have tried to only use RommAsset dependecy, but it also didn't work. What probably I did wrong?

ueen commented 5 years ago

This has nothing to do with RoomAsset, just do what the error message suggests kotlin-stdlib-jre7 is deprecated. Please use kotlin-stdlib-jdk7 instead

lobothijau commented 5 years ago

This has nothing to do with RoomAsset, just do what the error message suggests kotlin-stdlib-jre7 is deprecated. Please use kotlin-stdlib-jdk7 instead

I should've close this issue. Thanks for replying.