GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — AboutLibraries/app/build.gradle.kts at develop · Goooler/AboutLibraries

Expand file tree

/

build.gradle.kts

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
153 lines (123 loc) · 5.61 KB
/

build.gradle.kts

Copy path

File metadata and controls

153 lines (123 loc) · 5.61 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
import com.mikepenz.aboutlibraries.plugin.DuplicateMode
import com.mikepenz.aboutlibraries.plugin.DuplicateRule
import com.mikepenz.aboutlibraries.plugin.StrictMode
plugins {
id("com.mikepenz.convention.android-application")
id("com.mikepenz.convention.compose")
id("com.mikepenz.aboutlibraries.plugin")
id("com.mikepenz.aboutlibraries.plugin.android")
alias(baseLibs.plugins.stabilityAnalyzer)
}
android {
namespace = "com.mikepenz.aboutlibraries.sample.legacy"
defaultConfig {
base.archivesName = "AboutLibraries-v$versionName-c$versionCode"
}
buildTypes {
create("staging") {
signingConfig = signingConfigs.findByName("release")
applicationIdSuffix = ".debugStaging"
matchingFallbacks.add("debug")
}
}
buildFeatures {
viewBinding = true
dataBinding = true
}
packaging {
resources {
excludes.add("META-INF/library-core_release.kotlin_module")
excludes.add("META-INF/library_release.kotlin_module")
}
}
}
composeCompiler {
stabilityConfigurationFiles.addAll(
rootProject.layout.projectDirectory.file("stability_config.conf"),
)
reportsDestination = layout.buildDirectory.dir("compose_compiler")
metricsDestination = layout.buildDirectory.dir("compose_compiler")
}
dependencies {
// implementation(compose.desktop.currentOs)
implementation(compose.runtime)
implementation(compose.foundation)
implementation(compose.material)
implementation(compose.material3)
implementation(compose.components.resources)
implementation(compose.components.uiToolingPreview)
implementation(project(":aboutlibraries"))
implementation(project(":aboutlibraries-core"))
implementation(project(":aboutlibraries-compose-m2"))
implementation(project(":aboutlibraries-compose-m3"))
// Coroutines
implementation(baseLibs.kotlinx.coroutines.core)
// example for parent via a parent
// implementation("org.apache.commons:commons-csv:1.9.0")
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.cardView)
implementation(libs.androidx.recyclerView)
implementation(libs.google.material)
// used to generate the drawer on the left
// https://github.com/mikepenz/MaterialDrawer
implementation(libs.materialDrawer.core)
// used to provide different itemAnimators for the RecyclerView
// https://github.com/mikepenz/ItemAnimators
implementation(libs.itemAnimators.core)
// used to provide out of the box icon font support. simplifies development,
// and provides scalable icons. the core is very very light
// https://github.com/mikepenz/Android-Iconics
implementation(libs.iconics.core)
// used to display the icons in the drawer
// https://github.com/mikepenz/Android-Iconicsx`
implementation("com.mikepenz:material-design-iconic-typeface:2.2.0.8-kotlin@aar")
// used only tho showcase multi flavor support
"stagingImplementation"(libs.okhttp.core)
// https://mvnrepository.com/artifact/androidx.compose.material/material-icons-core
implementation("androidx.compose.material:material-icons-extended:1.7.8")
// used to test matching of license names
// implementation("com.github.librepdf:openpdf:1.3.43")
// implementation("com.google.android.play:app-update-ktx:2.1.0")
}
configurations.configureEach {
resolutionStrategy.force(libs.fastAdapter.core)
resolutionStrategy.force(libs.iconics.core)
}
aboutLibraries {
collect {
// define the path configuration files are located in. E.g. additional libraries, licenses to add to the target .json
// relative to module root (`../` for parent folder)
configPath = file("../config")
// (optional) GitHub token to raise API request limit to allow fetching more licenses
gitHubApiToken = if (hasProperty("github.pat")) property("github.pat")?.toString() else null
// Set to offline mode, skipping remote requests to fetch licenses or funding information
// offlineMode = true
// enable fetching of "remote" licenses. Uses the GitHub API
fetchRemoteLicense = false
// Allows to only collect dependencies of specific variants during the `collectDependencies` step.
// filterVariants.addAll("debug")
// Allows to enable the collection of funding information of differnet libraries
// fetchRemoteFunding = true
}
license {
// Define the strict mode, will fail if the project uses licenses not allowed
// - This will only automatically fail for Android projects which have `registerAndroidTasks` enabled
// For non-Android projects, execute `exportLibraryDefinitions`
strictMode = StrictMode.FAIL
// Allowed set of licenses, this project will be able to use without build failure
allowedLicenses.addAll("Apache-2.0", "MIT")
// Allowed set of licenses for specific dependencies, this project will be able to use without build failure
allowedLicensesMap = mapOf(
"asdkl" to listOf("androidx.jetpack.library"),
"NOASSERTION" to listOf("org.jetbrains.kotlinx"),
)
// Full license text for license IDs mentioned here will be included, even if no detected dependency uses them.
// additionalLicenses.addAll("mit", "mpl_2_0")
}
library {
// Enable the duplication mode, allows to merge, or link dependencies which relate
duplicationMode = DuplicateMode.MERGE
// Configure the duplication rule, to match "duplicates" with
duplicationRule = DuplicateRule.EXACT
}
}
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.