Skip to content

Commit 886fa81

Browse files
author
nphau
committed
feat: update core-ktx version
1 parent a143f9f commit 886fa81

File tree

9 files changed

+39
-7
lines changed

9 files changed

+39
-7
lines changed

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/nphau.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/profiles_settings.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</natures>
1717
<filteredResources>
1818
<filter>
19-
<id>1634836034610</id>
19+
<id>0</id>
2020
<name></name>
2121
<type>30</type>
2222
<matcher>

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,21 @@
1010
</a>
1111
<br/>
1212
<br/>
13-
<a href="https://imstudio.medium.com/" target="_blank">
13+
<a href="https://nphau.medium.com/" target="_blank">
1414
<img src="logo.png" width="128" margin="8">
1515
</a>
1616
</p>
1717

1818
[![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/colored.png)](#table-of-contents)
1919

20+
## 🚀 Copyright
21+
22+
``` Created by $username on $today
23+
Copyright (c) $today.year . All rights reserved.
24+
Last modified $file.lastModified
25+
```
26+
2027
## 🚀Authors
2128

2229
- https://github.com/nphau
23-
- https://medium.com/@imstudio
30+
- https://nphau.medium.com

app/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ android {
3939

4040
dependencies {
4141

42-
implementation 'androidx.core:core-ktx:1.6.0'
42+
implementation 'androidx.core:core-ktx:1.7.0'
4343
implementation 'androidx.appcompat:appcompat:1.3.1'
4444
implementation 'com.google.android.material:material:1.4.0'
4545
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
46-
testImplementation 'junit:junit:4.+'
4746
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
4847
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
4948

app/src/main/java/com/imstudio/app/embeddedserver/MainActivity.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Created by nphau on 31/10/2021, 21:01
3+
* Copyright (c) 2021 . All rights reserved.
4+
* Last modified 22/10/2021, 00:02
5+
*/
6+
17
package com.imstudio.app.embeddedserver
28

39
import android.os.Build

app/src/main/java/com/imstudio/app/embeddedserver/NetworkUtils.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Created by nphau on 31/10/2021, 21:02
3+
* Copyright (c) 2021 . All rights reserved.
4+
* Last modified 31/10/2021, 21:02
5+
*/
6+
17
package com.imstudio.app.embeddedserver
28

39
import java.net.InetAddress
@@ -10,7 +16,7 @@ object NetworkUtils {
1016
.map { it.hostAddress }
1117
.firstOrNull()
1218

13-
fun getInetAddresses() = NetworkInterface.getNetworkInterfaces()
19+
private fun getInetAddresses() = NetworkInterface.getNetworkInterfaces()
1420
.iterator()
1521
.asSequence()
1622
.flatMap { networkInterface ->

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<resources>
2-
<string name="app_name">IMS.EmbeddedServer</string>
2+
<string name="app_name">EmbeddedServer</string>
33
</resources>

0 commit comments

Comments
 (0)