Skip to content
Merged
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
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext {
kotlin_version = '2.0.20'
}
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
5 changes: 5 additions & 0 deletions cgeDemo/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'org.jetbrains.kotlin.android'

def usingCMakeCompile() {
/// define gradle.ext.usingCMakeCompile = false to disable CMakeCompile Mode.
Expand Down Expand Up @@ -33,11 +34,15 @@ android {
}
}
namespace 'org.wysaid.cgeDemo'
kotlinOptions {
jvmTarget = '1.8'
}

}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':library')
implementation 'androidx.appcompat:appcompat:' + rootProject.ext.android.appcompatX
implementation 'androidx.core:core-ktx:1.1.0'
}
6 changes: 4 additions & 2 deletions cgeDemo/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
Expand Down Expand Up @@ -50,6 +51,7 @@
android:label="@string/title_activity_video_player" />
<activity android:name=".VideoPlayerDemoActivity" />
<activity android:name=".TestCaseActivity" />
<activity android:name=".ImageDemoWithMatrixActivity" />
<activity
android:name=".FaceTrackingDemoActivity"
android:label="@string/title_activity_face_tracker_demo" />
Expand Down
Loading