Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@ buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath libs.green.dao.gradle.plugin
}
}

plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.kapt)
}
import java.util.regex.Matcher
import java.util.regex.Pattern

apply plugin: 'com.android.application'
apply plugin: 'org.greenrobot.greendao'
apply plugin: 'maven-publish'

android {
Expand Down Expand Up @@ -54,25 +51,26 @@ android {
}
}

greendao {
schemaVersion android.defaultConfig.versionCode
targetGenDir = new File('app/src/main/java')
daoPackage = android.defaultConfig.applicationId + '.dao'
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation libs.elimu.content.provider // https://jitpack.io/#ai.elimu/content-provider

implementation libs.green.dao
implementation libs.circle.imageview
implementation libs.androidx.core.ktx
implementation libs.androidx.activity.ktx

implementation libs.room.runtime
implementation libs.room.ktx
kapt libs.room.compiler

implementation libs.javapoet

testImplementation libs.junit

androidTestImplementation libs.androidx.junit
androidTestImplementation libs.androidx.espresso

}

publishing {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
android:theme="@style/AppTheme">

<activity
android:name=".ChatActivity"
android:name=".ui.ChatActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
302 changes: 0 additions & 302 deletions app/src/main/java/ai/elimu/chat/ChatActivity.kt

This file was deleted.

Loading
Loading