Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
Attempting this
Browse files Browse the repository at this point in the history
  • Loading branch information
Doomsdayrs committed Jun 19, 2021
1 parent efac238 commit 1bf507b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ allprojects {
repositories {
google()
mavenCentral()
//maven("https://jitpack.io")
}
}

Expand Down
23 changes: 22 additions & 1 deletion library/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
plugins {
id("com.android.library")
kotlin("android")
//`maven-publish`
}

group = "app.shosetsu.lib.material-banner"
version = "2.0.5"


android {
compileSdkVersion(30)
buildToolsVersion = "30.0.3"
Expand All @@ -15,12 +20,28 @@ android {
resValue("string", "materialbanner_lib_version", "${versionName}")
}
buildTypes {
named("release") {
create("release") {
minifyEnabled(false)
consumerProguardFiles("proguard-rules.pro")
}
}
}
/*
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
create<MavenPublication>("release") {
// Applies the component for the release build variant.
from(components.getByName("release"))
}
}
}
}
*/

dependencies {
implementation("androidx.core:core:1.6.0-rc01")
Expand Down

0 comments on commit 1bf507b

Please sign in to comment.