Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 430cd8e

Browse files
committed
draft new release
1 parent 318097e commit 430cd8e

4 files changed

Lines changed: 15 additions & 8 deletions

File tree

osmunda-demo/build.gradle

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ android {
3838
jniLibs.srcDirs = ['src/main/jnilibs']
3939
}
4040
}
41+
42+
lintOptions {
43+
checkReleaseBuilds true
44+
// Or, if you prefer, you can continue to check for errors in release builds,
45+
// but continue the build even when errors are found:
46+
abortOnError false
47+
}
4148
}
4249

4350
dependencies {
@@ -49,13 +56,10 @@ dependencies {
4956
implementation 'androidx.navigation:navigation-fragment:2.2.2'
5057
implementation 'androidx.navigation:navigation-ui:2.2.2'
5158
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
52-
testImplementation 'junit:junit:4.12'
53-
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
54-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
59+
5560
implementation 'androidx.navigation:navigation-fragment-ktx:2.2.2'
5661
implementation 'androidx.navigation:navigation-ui-ktx:2.2.2'
5762

5863
implementation 'org.osmdroid:osmdroid-android:6.1.6'
5964
implementation project(":osmunda")
60-
implementation "org.jetbrains.kotlin:kotlin-reflect:1.3.72"
6165
}

osmunda-demo/release/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":3,"versionName":"1.2.0","enabled":true,"outputFile":"osmunda-demo-release.apk","fullName":"release","baseName":"release","dirName":""},"path":"osmunda-demo-release.apk","properties":{}}]

osmunda-demo/src/main/java/moe/sunjiao/osmundademo/MainActivity.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class MainActivity : AppCompatActivity() {
2525
}
2626

2727
private fun initView() {
28-
2928
val fragmentList : ArrayList<Fragment> = ArrayList()
3029
fragmentList.add(ForwardFragment())
3130
fragmentList.add(HomeFragment())

osmunda/build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,19 @@ android {
2323
}
2424
}
2525

26+
lintOptions {
27+
checkReleaseBuilds true
28+
// Or, if you prefer, you can continue to check for errors in release builds,
29+
// but continue the build even when errors are found:
30+
abortOnError false
31+
}
2632
}
2733

2834
dependencies {
2935
implementation fileTree(dir: 'libs', include: ['*.jar'])
3036
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
3137
implementation 'androidx.appcompat:appcompat:1.1.0'
3238
implementation 'androidx.core:core-ktx:1.2.0'
33-
testImplementation 'junit:junit:4.12'
34-
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
35-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
3639

3740
implementation 'org.ogce:xpp3:1.1.6'
3841

0 commit comments

Comments
 (0)