Skip to content

Commit 6aec61b

Browse files
committed
Set up publishing to MavenCentral
1 parent f85d24b commit 6aec61b

23 files changed

+165
-188
lines changed

base/build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
group = 'com.github.thellmund.Android-Week-View'
2-
version = '5.2.2'
3-
4-
apply plugin: 'com.github.dcendents.android-maven'
51
apply plugin: 'com.android.library'
62
apply plugin: 'kotlin-android'
73

4+
ext {
5+
PUBLISH_ARTIFACT_ID = 'base'
6+
}
7+
8+
apply from: "${rootProject.projectDir}/scripts/publish-mavencentral.gradle"
9+
810
android {
911
compileSdkVersion buildConfig.compileSdk
1012
defaultConfig {

base/consumer-rules.pro

Whitespace-only changes.

base/proguard-rules.pro

Lines changed: 0 additions & 21 deletions
This file was deleted.

build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@
33
buildscript {
44
apply from: 'dependencies.gradle'
55
repositories {
6-
jcenter()
76
google()
7+
jcenter()
8+
mavenCentral()
89
maven {
910
url "https://plugins.gradle.org/m2/"
1011
}
1112
}
1213
dependencies {
13-
classpath 'com.android.tools.build:gradle:4.1.1'
14+
classpath 'com.android.tools.build:gradle:4.1.2'
1415
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
15-
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
1616
classpath 'org.jlleitschuh.gradle:ktlint-gradle:9.2.1'
1717
classpath 'com.github.ben-manes:gradle-versions-plugin:0.28.0'
18+
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.4.10.2'
1819
}
1920
}
2021

@@ -30,8 +31,8 @@ allprojects {
3031
apply plugin: 'org.jlleitschuh.gradle.ktlint'
3132

3233
repositories {
33-
jcenter()
3434
mavenCentral()
3535
google()
36+
jcenter()
3637
}
3738
}

core/build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
group = 'com.github.thellmund.Android-Week-View'
2-
version = '5.2.2'
3-
4-
apply plugin: 'com.github.dcendents.android-maven'
51
apply plugin: 'com.android.library'
62
apply plugin: 'kotlin-android'
73

4+
ext {
5+
PUBLISH_ARTIFACT_ID = 'core'
6+
}
7+
8+
apply from: "${rootProject.projectDir}/scripts/publish-mavencentral.gradle"
9+
810
android {
911
compileSdkVersion buildConfig.compileSdk
1012
defaultConfig {

core/gradle.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

core/proguard-rules.pro

Lines changed: 0 additions & 17 deletions
This file was deleted.

emoji/build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
group = 'com.github.thellmund.Android-Week-View'
2-
version = '5.2.2'
3-
4-
apply plugin: 'com.github.dcendents.android-maven'
51
apply plugin: 'com.android.library'
62
apply plugin: 'kotlin-android'
73

4+
ext {
5+
PUBLISH_ARTIFACT_ID = 'emoji'
6+
}
7+
8+
apply from: "${rootProject.projectDir}/scripts/publish-mavencentral.gradle"
9+
810
android {
911
compileSdkVersion buildConfig.compileSdk
1012
defaultConfig {

emoji/consumer-rules.pro

Whitespace-only changes.

emoji/proguard-rules.pro

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)