Skip to content

Commit

Permalink
Convert codes to kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-yazdanmanesh committed Jun 11, 2023
1 parent 0550d3f commit c6d0700
Show file tree
Hide file tree
Showing 141 changed files with 8,650 additions and 10,303 deletions.
33 changes: 24 additions & 9 deletions MPChartExample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
apply plugin: 'com.android.application'
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'org.jetbrains.kotlin.android'
}

android {
compileSdkVersion 28
compileSdkVersion 33
defaultConfig {
applicationId "com.xxmassdeveloper.mpchartexample"
minSdkVersion 16
targetSdkVersion 28
versionCode 57
versionName '3.1.0'
minSdkVersion 19
targetSdkVersion 33
versionCode getGitCommitCount()
versionName getTag()
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments useTestStorageService: 'true'
}

buildTypes {
Expand All @@ -17,10 +22,20 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
viewBinding {
enabled = true
}
namespace 'com.xxmassdeveloper.mpchartexample'
}

dependencies {
implementation "androidx.appcompat:appcompat:1.0.2"
implementation 'com.google.android.material:material:1.0.0'
implementation "androidx.appcompat:appcompat:1.6.1"
implementation 'com.google.android.material:material:1.9.0'
implementation project(':MPChartLib')
}
implementation 'androidx.core:core-ktx:1.10.1'

androidTestImplementation "androidx.test.ext:junit-ktx:1.1.5"
androidTestUtil "androidx.test.services:test-services:1.4.2"
androidTestImplementation "androidx.test.espresso:espresso-core:3.5.1"
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.5.1'
}
3 changes: 2 additions & 1 deletion MPChartExample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
android:theme="@style/AppTheme">
<activity
android:name="com.xxmassdeveloper.mpchartexample.notimportant.MainActivity"
android:label="@string/app_name" >
android:label="@string/app_name"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.VIEW" />
Expand Down

This file was deleted.

Loading

0 comments on commit c6d0700

Please sign in to comment.