Skip to content

Commit 26fe186

Browse files
committed
Fix publishing
1 parent 14ac0f7 commit 26fe186

File tree

7 files changed

+19
-14
lines changed

7 files changed

+19
-14
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ android {
2323
}
2424

2525
dependencies {
26-
implementation "androidx.appcompat:appcompat:1.4.2"
26+
implementation("androidx.appcompat:appcompat:1.4.2")
2727

28-
implementation project(":modalbottomsheetdialogfragment")
28+
implementation(project(":modalbottomsheetdialogfragment"))
2929
}

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
buildscript {
2-
ext.kotlin_version = "1.6.20"
2+
ext.kotlin_version = "1.6.21"
33
repositories {
44
google()
55
mavenCentral()
66
}
77
dependencies {
8-
classpath "com.android.tools.build:gradle:7.1.3"
8+
classpath "com.android.tools.build:gradle:7.2.1"
99
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1010
classpath "com.vanniktech:gradle-maven-publish-plugin:0.19.0"
1111
}

gradle/wrapper/gradle-wrapper.jar

285 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
#
4-
# Copyright © 2015-2021 the original authors.
4+
# Copyright © 2015-2021 the original authors.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -32,10 +32,10 @@
3232
# Busybox and similar reduced shells will NOT work, because this script
3333
# requires all of these POSIX shell features:
3434
# * functions;
35-
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
36-
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
37-
# * compound commands having a testable exit status, especially «case»;
38-
# * various built-in commands including «command», «set», and «ulimit».
35+
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
36+
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
37+
# * compound commands having a testable exit status, especially «case»;
38+
# * various built-in commands including «command», «set», and «ulimit».
3939
#
4040
# Important for patching:
4141
#

modalbottomsheetdialogfragment/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin: "com.android.library"
22
apply plugin: "kotlin-android"
3-
apply plugin: "com.vanniktech.maven.publish"
3+
apply from: "../publish.gradle"
44

55
android {
66
compileSdkVersion 32
@@ -22,9 +22,9 @@ android {
2222
}
2323

2424
dependencies {
25-
api "androidx.activity:activity-ktx:1.4.0"
25+
api("androidx.activity:activity-ktx:1.4.0")
2626

27-
api "androidx.recyclerview:recyclerview:1.2.1"
27+
api("androidx.recyclerview:recyclerview:1.2.1")
2828

29-
api "com.google.android.material:material:1.6.1"
29+
api("com.google.android.material:material:1.6.1")
3030
}

publish.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apply plugin: "com.vanniktech.maven.publish"
2+
3+
mavenPublish {
4+
androidVariantToPublish = "release"
5+
}

0 commit comments

Comments
 (0)