Skip to content

Commit

Permalink
l1-s10 add mpplibrary dependency to android app
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex009 committed Sep 5, 2019
1 parent 748ed37 commit 0d23cb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions android-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

implementation project(":mpp-library")
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
package com.icerockdev.android_app

import androidx.appcompat.app.AppCompatActivity
import HelloWorld
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity

class MainActivity : AppCompatActivity() {

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)

HelloWorld.print()
}
}

0 comments on commit 0d23cb4

Please sign in to comment.