Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit cec904e

Browse files
author
Nick Rout
committed
Prepare for core release
1 parent eb00530 commit cec904e

File tree

4 files changed

+48
-2
lines changed

4 files changed

+48
-2
lines changed

core/build.gradle

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff 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

4862
dependencies {
@@ -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+

core/gradle.properties

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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

material3Lib/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
POM_ARTIFACT_ID=compose-theme-adapter-3
1818
POM_NAME=MDC-Android Theme Adapter for Compose Material 3
1919
POM_PACKAGING=aar
20-
VERSION_NAME=1.0.23-SNAPSHOT
20+
VERSION_NAME=1.1.0-SNAPSHOT

materialLib/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
POM_ARTIFACT_ID=compose-theme-adapter
1818
POM_NAME=MDC-Android Theme Adapter for Compose Material
1919
POM_PACKAGING=aar
20-
VERSION_NAME=1.1.23-SNAPSHOT
20+
VERSION_NAME=1.2.0-SNAPSHOT

0 commit comments

Comments
 (0)