Skip to content

Commit 601da62

Browse files
author
FunkyMuse
committed
update to gradle 7.0.0
1 parent 1c4c1f6 commit 601da62

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ buildscript {
22
ext.kotlin_version = "1.5.21"
33
repositories {
44
google()
5-
jcenter()
5+
mavenCentral()
66
}
77
dependencies {
88
classpath 'com.android.tools.build:gradle:7.0.0'
@@ -13,7 +13,7 @@ buildscript {
1313
allprojects {
1414
repositories {
1515
google()
16-
jcenter()
16+
mavenCentral()
1717
}
1818
}
1919

@@ -28,7 +28,7 @@ ext {
2828
androidXTestCoreVersion = '1.4.0'
2929
androidXTestExtKotlinRunnerVersion = '1.1.3'
3030
androidXTestRulesVersion = '1.2.0-beta01'
31-
robolectricVersion = '4.4'
31+
robolectricVersion = '4.6.1'
3232
archTestingVersion = '2.1.0'
3333
startup = '1.0.0'
3434
}

crashyreporter/build.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
3+
apply plugin: 'maven-publish'
34

45
android {
56
compileSdkVersion 30
@@ -51,4 +52,14 @@ dependencies {
5152
testImplementation "androidx.test:core-ktx:$androidXTestCoreVersion"
5253
testImplementation "org.robolectric:robolectric:$robolectricVersion"
5354
testImplementation "androidx.arch.core:core-testing:$archTestingVersion"
54-
}
55+
}
56+
57+
afterEvaluate {
58+
publishing {
59+
publications {
60+
release(MavenPublication) {
61+
from components.release
62+
}
63+
}
64+
}
65+
}

jitpack.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
jdk:
2+
- openjdk11
3+
install:
4+
- ./gradlew publishToMavenLocal
5+
- find . -name "*.aar"
6+

0 commit comments

Comments
 (0)