Skip to content

Commit 0d23cb4

Browse files
committed
l1-s10 add mpplibrary dependency to android app
1 parent 748ed37 commit 0d23cb4

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

android-app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,6 @@ dependencies {
3131
testImplementation 'junit:junit:4.12'
3232
androidTestImplementation 'androidx.test:runner:1.2.0'
3333
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
34+
35+
implementation project(":mpp-library")
3436
}
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
package com.icerockdev.android_app
22

3-
import androidx.appcompat.app.AppCompatActivity
3+
import HelloWorld
44
import android.os.Bundle
5+
import androidx.appcompat.app.AppCompatActivity
56

67
class MainActivity : AppCompatActivity() {
78

89
override fun onCreate(savedInstanceState: Bundle?) {
910
super.onCreate(savedInstanceState)
1011
setContentView(R.layout.activity_main)
12+
13+
HelloWorld.print()
1114
}
1215
}

0 commit comments

Comments
 (0)