Skip to content

Commit

Permalink
update to gradle 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyMuse committed Aug 4, 2021
1 parent 1c4c1f6 commit 601da62
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ buildscript {
ext.kotlin_version = "1.5.21"
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.0'
Expand All @@ -13,7 +13,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand All @@ -28,7 +28,7 @@ ext {
androidXTestCoreVersion = '1.4.0'
androidXTestExtKotlinRunnerVersion = '1.1.3'
androidXTestRulesVersion = '1.2.0-beta01'
robolectricVersion = '4.4'
robolectricVersion = '4.6.1'
archTestingVersion = '2.1.0'
startup = '1.0.0'
}
13 changes: 12 additions & 1 deletion crashyreporter/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'maven-publish'

android {
compileSdkVersion 30
Expand Down Expand Up @@ -51,4 +52,14 @@ dependencies {
testImplementation "androidx.test:core-ktx:$androidXTestCoreVersion"
testImplementation "org.robolectric:robolectric:$robolectricVersion"
testImplementation "androidx.arch.core:core-testing:$archTestingVersion"
}
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
}
}
}
}
6 changes: 6 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
jdk:
- openjdk11
install:
- ./gradlew publishToMavenLocal
- find . -name "*.aar"

0 comments on commit 601da62

Please sign in to comment.