File tree 4 files changed +15
-13
lines changed
src/main/kotlin/reactivecircus/flowbinding
4 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ plugins {
2
2
`kotlin- dsl`
3
3
}
4
4
5
- repositories {
6
- mavenCentral()
7
- google()
8
- gradlePluginPortal()
9
- }
10
-
11
5
dependencies {
12
6
// TODO: remove once https://github.com/gradle/gradle/issues/15383#issuecomment-779893192 is fixed
13
7
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
Original file line number Diff line number Diff line change
1
+ @Suppress(" UnstableApiUsage" )
1
2
dependencyResolutionManagement {
2
- @Suppress(" UnstableApiUsage" )
3
+ repositories {
4
+ mavenCentral()
5
+ google()
6
+ gradlePluginPortal()
7
+ }
8
+
3
9
versionCatalogs {
4
10
create(" libs" ) {
5
11
from(files(" ../gradle/libs.versions.toml" ))
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import org.gradle.api.tasks.testing.Test
15
15
import org.gradle.api.tasks.testing.logging.TestLogEvent
16
16
import org.gradle.kotlin.dsl.configure
17
17
import org.gradle.kotlin.dsl.getByType
18
- import org.gradle.kotlin.dsl.repositories
19
18
import org.gradle.kotlin.dsl.withType
20
19
import org.jetbrains.kotlin.gradle.dsl.KotlinAndroidProjectExtension
21
20
import org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension
@@ -128,11 +127,6 @@ fun Project.configureForAllProjects(enableExplicitApi: Property<Boolean>) {
128
127
// configure maven publishing plugin if applied to the project
129
128
configureMavenPublishing()
130
129
131
- repositories {
132
- mavenCentral()
133
- google()
134
- }
135
-
136
130
tasks.withType<KotlinCompile >().configureEach {
137
131
kotlinOptions {
138
132
jvmTarget = JavaVersion .VERSION_11 .toString()
Original file line number Diff line number Diff line change 1
1
rootProject.name = " FlowBinding"
2
2
3
+ @Suppress(" UnstableApiUsage" )
4
+ dependencyResolutionManagement {
5
+ repositories {
6
+ mavenCentral()
7
+ google()
8
+ }
9
+ }
10
+
3
11
include(" :flowbinding-common" )
4
12
5
13
include(" :flowbinding-android" )
You can’t perform that action at this time.
0 commit comments