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

Commit

Permalink
Prepare for core release
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Rout committed Nov 16, 2022
1 parent eb00530 commit cec904e
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 2 deletions.
26 changes: 26 additions & 0 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,20 @@ android {
composeOptions {
kotlinCompilerExtensionVersion Libs.AndroidX.Compose.compilerVersion
}

lintOptions {
textReport true
textOutput 'stdout'
// We run a full lint analysis as build part in CI, so skip vital checks for assemble tasks
checkReleaseBuilds false
}

packagingOptions {
// Multiple dependencies bring these files in. Exclude them to enable
// our test APK to build (has no effect on our AARs)
excludes += "/META-INF/AL2.0"
excludes += "/META-INF/LGPL2.1"
}
}

dependencies {
Expand All @@ -58,3 +72,15 @@ dependencies {
androidTestImplementation Libs.AndroidX.Test.rules
androidTestImplementation Libs.AndroidX.Test.runner
}

apply plugin: 'com.vanniktech.maven.publish'

mavenPublish {
targets {
uploadArchives {
snapshotRepositoryUrl = "https://maven.pkg.github.com/material-components/material-components-android-compose-theme-adapter-core"
releaseRepositoryUrl = "https://maven.pkg.github.com/material-components/material-components-android-compose-theme-adapter-core"
}
}
}

20 changes: 20 additions & 0 deletions core/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Copyright 2020 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

POM_ARTIFACT_ID=compose-theme-adapter-core
POM_NAME=MDC-Android Theme Adapter for Compose
POM_PACKAGING=aar
VERSION_NAME=1.0.0-SNAPSHOT
2 changes: 1 addition & 1 deletion material3Lib/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
POM_ARTIFACT_ID=compose-theme-adapter-3
POM_NAME=MDC-Android Theme Adapter for Compose Material 3
POM_PACKAGING=aar
VERSION_NAME=1.0.23-SNAPSHOT
VERSION_NAME=1.1.0-SNAPSHOT
2 changes: 1 addition & 1 deletion materialLib/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
POM_ARTIFACT_ID=compose-theme-adapter
POM_NAME=MDC-Android Theme Adapter for Compose Material
POM_PACKAGING=aar
VERSION_NAME=1.1.23-SNAPSHOT
VERSION_NAME=1.2.0-SNAPSHOT

0 comments on commit cec904e

Please sign in to comment.