Skip to content

Commit

Permalink
Removed jcenter and bintray, updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
oyakovlev committed May 11, 2022
1 parent 9050664 commit d0f10e2
Show file tree
Hide file tree
Showing 9 changed files with 193 additions and 144 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {
}

// Append dependency
implementation("com.icerockdev.service:email-service:0.1.1")
implementation("com.icerockdev.service:email-service:0.2.0")
````

## Library usage
Expand Down
30 changes: 0 additions & 30 deletions build.gradle

This file was deleted.

32 changes: 32 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Copyright 2020 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/

allprojects {
repositories {
mavenLocal()
mavenCentral()
}

configurations {
maybeCreate("runtimeClasspath")
maybeCreate("provided")
}

val copyLibsCompileTask = tasks.create("copyLibsCompile", Copy::class.java) {
from(configurations["runtimeClasspath"])
into(File(project.rootDir, "build/libs"))
}

plugins.withId("org.jetbrains.kotlin.jvm") {
tasks.withType(JavaCompile::class.java).all {
dependsOn(copyLibsCompileTask)
sourceCompatibility = JavaVersion.VERSION_11.toString()
targetCompatibility = JavaVersion.VERSION_11.toString()
}
}
}

tasks.create("clean", Delete::class.java) {
delete(rootProject.buildDir)
}
2 changes: 1 addition & 1 deletion email-service/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apply(plugin = "java")
apply(plugin = "kotlin")

group = "com.icerockdev.service"
version = "0.1.1"
version = "0.2.0"

val sourcesJar by tasks.registering(Jar::class) {
archiveClassifier.set("sources")
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ org.gradle.jvmargs=-Xmx4096m
org.gradle.configureondemand=false
org.gradle.parallel=true

logback_version=1.2.3
logback_version=1.2.11
kotlin.code.style=official
kotlin_version=1.4.31
coroutines_version=1.4.2
kotlin_version=1.6.10
coroutines_version=1.6.0
common_email_version=1.5
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit d0f10e2

Please sign in to comment.