Skip to content

Commit 5b02099

Browse files
Merge pull request #31 from Dynamsoft/01302023-debug
Fixed Gradle ktx issue
2 parents 170f524 + a0e9c4e commit 5b02099

File tree

31 files changed

+44
-37
lines changed

31 files changed

+44
-37
lines changed

android/Java/DecodeWithCameraX/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip

android/Java/GeneralSettings/.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
app/build
55
local.properties
66
*.aar
7-
gradle-wrapper.jar
8-
gradle-wrapper.properties
97
gradlew
108
gradlew.bat
119
.idea
53.1 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Mon Jun 13 16:23:19 CST 2022
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip

android/Java/HelloWorld/.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
app/build
55
local.properties
66
*.aar
7-
gradle-wrapper.jar
8-
gradle-wrapper.properties
97
gradlew
108
gradlew.bat
119
.idea

android/Java/HelloWorld/app/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
22
id 'com.android.application'
3-
id 'org.jetbrains.kotlin.android'
43
}
54

65
android {
@@ -38,7 +37,6 @@ dependencies {
3837
implementation 'androidx.appcompat:appcompat:1.2.0'
3938
implementation 'com.google.android.material:material:1.2.1'
4039
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
41-
implementation 'androidx.core:core-ktx:+'
4240
testImplementation 'junit:junit:4.+'
4341
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
4442
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'

android/Java/HelloWorld/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
android:supportsRtl="true"
1111
android:usesCleartextTraffic = "true"
1212
android:theme="@style/Theme.SimpleSample">
13-
<!-- <activity android:name="com.dynamsoft.helloworld.kotlin.MainActivityKt">-->
1413
<activity android:name="com.dynamsoft.helloworld.java.MainActivity">
1514
<intent-filter>
1615
<action android:name="android.intent.action.MAIN" />

android/Java/HelloWorld/build.gradle

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
3-
ext {
4-
ext.kotlin_version = '1.6.10'
5-
}
63
repositories {
74
google()
85
mavenCentral()
96
}
107
dependencies {
118
classpath 'com.android.tools.build:gradle:4.1.2'
12-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
13-
149
// NOTE: Do not place your application dependencies here; they belong
1510
// in the individual module build.gradle files
1611
}
53.1 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Mon Jun 13 16:23:19 CST 2022
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip

0 commit comments

Comments
 (0)