File tree 3 files changed +6
-6
lines changed
src/main/java/org/seemeet/seemeet/ui/main/home
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ plugins {
3
3
id ' kotlin-android'
4
4
id ' kotlin-kapt'
5
5
id ' com.google.gms.google-services'
6
+ id ' com.google.android.gms.oss-licenses-plugin'
6
7
}
7
8
8
9
Properties properties = new Properties ()
@@ -122,4 +123,6 @@ dependencies {
122
123
implementation(" com.squareup.okhttp3:logging-interceptor:4.9.1" )
123
124
implementation(" com.squareup.okhttp3:okhttp-urlconnection:4.9.1" )
124
125
126
+ // oss licenses plugin
127
+ implementation ' com.google.android.gms:play-services-oss-licenses:17.0.0'
125
128
}
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import androidx.databinding.DataBindingUtil
15
15
import androidx.fragment.app.Fragment
16
16
import androidx.fragment.app.activityViewModels
17
17
import com.bumptech.glide.Glide
18
+ import com.google.android.gms.oss.licenses.OssLicensesMenuActivity
18
19
import org.seemeet.seemeet.R
19
20
import org.seemeet.seemeet.data.SeeMeetSharedPreference
20
21
import org.seemeet.seemeet.data.SeeMeetSharedPreference.getLogin
@@ -144,12 +145,7 @@ class HomeFragment : Fragment() {
144
145
}
145
146
146
147
nvMypage.tvMypageOpenSource.setOnClickListener {
147
- startActivity(
148
- Intent (
149
- Intent .ACTION_VIEW ,
150
- Uri .parse(" https://be-simon.notion.site/Seemeet-a1bd07c318d14a4e981ea047e1d450cc" )
151
- )
152
- )
148
+ startActivity(Intent (requireContext(), OssLicensesMenuActivity ::class .java))
153
149
}
154
150
155
151
nvMypage.swPush.setOnClickListener {
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ buildscript {
11
11
classpath " com.android.tools.build:gradle:7.0.2"
12
12
classpath ' org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10'
13
13
classpath ' com.google.gms:google-services:4.3.10'
14
+ classpath ' com.google.android.gms:oss-licenses-plugin:0.10.4' // oss licenses plugin 추가
14
15
// NOTE: Do not place your application dependencies here; they belong
15
16
// in the individual module build.gradle files
16
17
}
You can’t perform that action at this time.
0 commit comments