package com.soywiz.korge.gradle

import org.gradle.api.Project
import java.net.URI

fun Project.configureRepositories() {
	repositories.apply {
		mavenLocal().content {
			it.excludeGroup("Kotlin/Native")
		}
		maven {
			it.url = URI("https://dl.bintray.com/korlibs/korlibs")
			it.content {
				it.includeGroup("com.soywiz")
				it.excludeGroup("Kotlin/Native")
			}
		}
		if (BuildVersions.KOTLIN.contains("eap")) {
			maven {
				it.url = URI("https://dl.bintray.com/kotlin/kotlin-eap")
				it.content {
					it.excludeGroup("Kotlin/Native")
				}
			}
		}
		jcenter().content {
			it.excludeGroup("Kotlin/Native")
		}
		mavenCentral().content {
			it.excludeGroup("Kotlin/Native")
		}
		if (BuildVersions.KOTLIN.contains("release")) {
			maven { it.url = uri("https://dl.bintray.com/kotlin/kotlin-dev") }
		}
	}
}


package com.soywiz.korge.gradle

import org.gradle.api.Project
import java.net.URI

fun Project.configureRepositories() {
	repositories.apply {
		mavenLocal().content {
			it.excludeGroup("Kotlin/Native")
		}
		maven {
			it.url = URI("https://dl.bintray.com/korlibs/korlibs")
			it.content {
				it.excludeGroup("Kotlin/Native")
			}
		}
		if (BuildVersions.KOTLIN.contains("eap")) {
			maven {
				it.url = URI("https://dl.bintray.com/kotlin/kotlin-eap")
				it.content {
					it.excludeGroup("Kotlin/Native")
				}
			}
		}
		jcenter().content {
			it.excludeGroup("Kotlin/Native")
		}
		mavenCentral().content {
			it.excludeGroup("Kotlin/Native")
		}
		if (BuildVersions.KOTLIN.contains("release")) {
			maven { it.url = uri("https://dl.bintray.com/kotlin/kotlin-dev") }
		}
	}
}


Remove includeGroup since now it is in separated packages com.soywiz.korlibs.*
Remove includeGroup since now it is in separated packages com.soywiz.korlibs.*

soywiz/korge,soywiz/korge,soywiz/korge