-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Implement License Screen #883
Changes from 5 commits
d86189c
64d50ea
837b806
4a0b1c0
ea95eea
124d000
33966e0
86efeeb
fa3f764
f4d5d17
1744bfa
488bf27
b1109b0
f318919
c06afc0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<style name="Theme.KaigiApp" parent="android:Theme.Material.Light.NoActionBar"> | ||
<style name="Theme.KaigiApp" parent="Theme.AppCompat.Light.NoActionBar"> | ||
<item name="android:statusBarColor">@android:color/transparent</item> | ||
</style> | ||
</resources> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,9 @@ tasks.register("clean", Delete::class) { | |
} | ||
|
||
buildscript { | ||
dependencies { | ||
classpath(libs.ossLicensesPlugin) | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please refer here to add this plugin. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for recommendations! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I created the Plugin for OSS license plugin. also It applied. |
||
configurations.all { | ||
resolutionStrategy.eachDependency { | ||
when { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,8 @@ multiplatformFirebase = "1.8.1" | |
kermit = "1.2.2" | ||
okHttp = "4.11.0" | ||
ktorfit = "1.5.0" | ||
ossLicensesPlugin = "0.10.6" | ||
ossLicenses = "17.0.1" | ||
detekt = "1.23.1" | ||
twitterComposeRule = "0.0.26" | ||
|
||
|
@@ -124,6 +126,11 @@ ktorfitKsp = { module = "de.jensklingenberg.ktorfit:ktorfit-ksp", version.ref = | |
|
||
# Test | ||
|
||
# etc | ||
|
||
ossLicenses = { module = "com.google.android.gms:play-services-oss-licenses", version.ref = "ossLicenses" } | ||
ossLicensesPlugin = { module = "com.google.android.gms:oss-licenses-plugin", version.ref = "ossLicensesPlugin" } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about placing these dependencies below the dependencies for tests? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's make sense. thank you for suggestion! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I moved to below of tests |
||
|
||
junit = { module = "junit:junit", version.ref = "junit" } | ||
androidxTestExtJunit = { module = "androidx.test.ext:junit", version.ref = "androidxTestExt" } | ||
androidxTestEspressoEspressoCore = { module = "androidx.test.espresso:espresso-core", version.ref = "androidxTestEspresso" } | ||
|
@@ -143,6 +150,7 @@ roborazziGradlePlugin = { id = "io.github.takahirom.roborazzi", version.ref = "r | |
kspGradlePlugin = { id = "com.google.devtools.ksp", version.ref = "ksp" } | ||
kotlinxKover = { id = "org.jetbrains.kotlinx.kover", version = "0.7.3" } | ||
detektGradlePlugin = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" } | ||
ossLicensesPlugin = { id = "com.google.android.gms.oss-licenses-plugin", version.ref = "ossLicensesPlugin" } | ||
|
||
[bundles] | ||
plugins = [ | ||
|
@@ -157,4 +165,5 @@ plugins = [ | |
"kotlinxSerializationGradlePlugin", | ||
"completeKotlinPlugin", | ||
"detektGradlePlugin", | ||
"ossLicensesPlugin" | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏
(I thought it is ok to have this theme 👀 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let me check with revert ver 🙇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have to change the theme for entire the app.
I can just update the theme for the
Activities
which generate by the plugin.