Skip to content

Commit 780e2d2

Browse files
committed
Kotlin conversion
1 parent d6a39cf commit 780e2d2

File tree

15 files changed

+681
-673
lines changed

15 files changed

+681
-673
lines changed

.idea/.name

-1
This file was deleted.

.idea/compiler.xml

-22
This file was deleted.

.idea/copyright/profiles_settings.xml

-3
This file was deleted.

.idea/gradle.xml

+1-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+73-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

+13-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
apply plugin: 'com.android.application'
2+
apply plugin: 'kotlin-android'
23

34
android {
4-
compileSdkVersion 23
5-
buildToolsVersion "23.0.2"
5+
compileSdkVersion 27
6+
buildToolsVersion '27.0.3'
67

78
defaultConfig {
89
applicationId "com.app.progresswheel"
910
minSdkVersion 19
10-
targetSdkVersion 23
11+
targetSdkVersion 27
1112
versionCode 1
1213
versionName "1.0"
1314
}
@@ -20,10 +21,14 @@ android {
2021
}
2122

2223
dependencies {
23-
compile fileTree(dir: 'libs', include: ['*.jar'])
24-
testCompile 'junit:junit:4.12'
25-
compile 'com.android.support:appcompat-v7:23.2.0'
26-
compile 'com.android.support:design:23.1.1'
24+
implementation fileTree(dir: 'libs', include: ['*.jar'])
25+
testImplementation 'junit:junit:4.12'
26+
implementation 'com.android.support:support-compat:27.1.1'
27+
implementation 'com.android.support:design:27.1.1'
2728

28-
compile project(':progreswheelview')
29+
implementation project(':progreswheelview')
30+
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
31+
}
32+
repositories {
33+
mavenCentral()
2934
}

app/src/main/java/com/app/progresswheel/MainActivity.java

-118
This file was deleted.

0 commit comments

Comments
 (0)