Skip to content

Commit b2d91b0

Browse files
committed
fixed gradle to do not compile classes.jar
1 parent 6240ccf commit b2d91b0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

UnitySpeechRecognizerPlugin/SpeechRecognizer/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ android {
2222
}
2323

2424
dependencies {
25-
compileOnly fileTree(dir: 'libs', include: ['*.jar'])
25+
compileOnly files('./libs/classes.jar') // Avoid redundant Unity Player in final application APK
2626
implementation "androidx.core:core-ktx:1.3.1"
2727
testImplementation 'junit:junit:4.12'
2828
androidTestImplementation 'com.android.support.test:runner:1.0.2'
2929
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
30-
implementation files('libs/classes.jar')
3130
}
3231

3332
android.libraryVariants.all { variant ->

UnitySpeechRecognizerPlugin/SpeechRecognizer/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.example.eric.unityspeechrecognizerplugin"
3+
package="com.example.eric.speechrecognizer"
44
android:versionCode="1"
55
android:versionName="1.0" >
66
<uses-permission android:name="android.permission.RECORD_AUDIO" />

0 commit comments

Comments
 (0)