This repository was archived by the owner on Aug 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +48
-2
lines changed
Expand file tree Collapse file tree 4 files changed +48
-2
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,20 @@ android {
4343 composeOptions {
4444 kotlinCompilerExtensionVersion Libs.AndroidX.Compose . compilerVersion
4545 }
46+
47+ lintOptions {
48+ textReport true
49+ textOutput ' stdout'
50+ // We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks
51+ checkReleaseBuilds false
52+ }
53+
54+ packagingOptions {
55+ // Multiple dependencies bring these files in. Exclude them to enable
56+ // our test APK to build (has no effect on our AARs)
57+ excludes + = " /META-INF/AL2.0"
58+ excludes + = " /META-INF/LGPL2.1"
59+ }
4660}
4761
4862dependencies {
@@ -58,3 +72,15 @@ dependencies {
5872 androidTestImplementation Libs.AndroidX.Test . rules
5973 androidTestImplementation Libs.AndroidX.Test . runner
6074}
75+
76+ apply plugin : ' com.vanniktech.maven.publish'
77+
78+ mavenPublish {
79+ targets {
80+ uploadArchives {
81+ snapshotRepositoryUrl = " https://maven.pkg.github.com/material-components/material-components-android-compose-theme-adapter-core"
82+ releaseRepositoryUrl = " https://maven.pkg.github.com/material-components/material-components-android-compose-theme-adapter-core"
83+ }
84+ }
85+ }
86+
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright 2020 The Android Open Source Project
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License");
5+ # you may not use this file except in compliance with the License.
6+ # You may obtain a copy of the License at
7+ #
8+ # https://www.apache.org/licenses/LICENSE-2.0
9+ #
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
15+ #
16+
17+ POM_ARTIFACT_ID =compose-theme-adapter-core
18+ POM_NAME =MDC-Android Theme Adapter for Compose
19+ POM_PACKAGING =aar
20+ VERSION_NAME =1.0.0-SNAPSHOT
Original file line number Diff line number Diff line change 1717POM_ARTIFACT_ID =compose-theme-adapter-3
1818POM_NAME =MDC-Android Theme Adapter for Compose Material 3
1919POM_PACKAGING =aar
20- VERSION_NAME =1.0.23 -SNAPSHOT
20+ VERSION_NAME =1.1.0 -SNAPSHOT
Original file line number Diff line number Diff line change 1717POM_ARTIFACT_ID =compose-theme-adapter
1818POM_NAME =MDC-Android Theme Adapter for Compose Material
1919POM_PACKAGING =aar
20- VERSION_NAME =1.1.23 -SNAPSHOT
20+ VERSION_NAME =1.2.0 -SNAPSHOT
You can’t perform that action at this time.
0 commit comments