Don't specify different versions for modules
This commit is contained in:
parent
d02cdca524
commit
5a0f60f886
@ -27,12 +27,17 @@ tasks.jar {
|
||||
}
|
||||
|
||||
val projectGroup: String by project
|
||||
val projectVersion: String by project
|
||||
|
||||
version = projectVersion
|
||||
group = projectGroup
|
||||
|
||||
subprojects {
|
||||
apply(plugin = "maven-publish")
|
||||
apply(plugin = "kotlin")
|
||||
|
||||
group = projectGroup
|
||||
version = projectVersion
|
||||
|
||||
tasks.compileKotlin {
|
||||
kotlinOptions {
|
||||
|
@ -3,13 +3,8 @@ plugins {
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
val collectVersion: String by project
|
||||
val projectGroup: String by project
|
||||
val specifyKotlinAsDependency: String by project
|
||||
|
||||
group = projectGroup
|
||||
version = collectVersion
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
@ -4,13 +4,8 @@ plugins {
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
val coreVersion: String by project
|
||||
val projectGroup: String by project
|
||||
val specifyKotlinAsDependency: String by project
|
||||
|
||||
group = projectGroup
|
||||
version = coreVersion
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
@ -4,14 +4,6 @@ kotlin.code.style=official
|
||||
specifyKotlinAsDependency=false
|
||||
|
||||
projectGroup=ru.dbotthepony.kommons
|
||||
projectVersion=1.0.2
|
||||
|
||||
guavaDepVersion=33.0.0
|
||||
|
||||
kommonsVersion=1.0.1
|
||||
coreVersion=1.0.1
|
||||
ioVersion=1.0.1
|
||||
networkingVersion=1.0.1
|
||||
mathVersion=1.0.1
|
||||
collectVersion=1.0.1
|
||||
guavaVersion=1.0.1
|
||||
linearAlgebraVersion=1.0.1
|
||||
|
@ -3,14 +3,9 @@ plugins {
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
val guavaVersion: String by project
|
||||
val guavaDepVersion: String by project
|
||||
val projectGroup: String by project
|
||||
val specifyKotlinAsDependency: String by project
|
||||
|
||||
group = projectGroup
|
||||
version = guavaVersion
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
@ -3,13 +3,8 @@ plugins {
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
val kommonsVersion: String by project
|
||||
val projectGroup: String by project
|
||||
val specifyKotlinAsDependency: String by project
|
||||
|
||||
group = projectGroup
|
||||
version = kommonsVersion
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
@ -3,13 +3,8 @@ plugins {
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
val ioVersion: String by project
|
||||
val projectGroup: String by project
|
||||
val specifyKotlinAsDependency: String by project
|
||||
|
||||
group = projectGroup
|
||||
version = ioVersion
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
@ -3,11 +3,8 @@ plugins {
|
||||
kotlin("jvm")
|
||||
}
|
||||
|
||||
val linearAlgebraVersion: String by project
|
||||
val specifyKotlinAsDependency: String by project
|
||||
|
||||
version = linearAlgebraVersion
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
@ -3,13 +3,8 @@ plugins {
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
val mathVersion: String by project
|
||||
val projectGroup: String by project
|
||||
val specifyKotlinAsDependency: String by project
|
||||
|
||||
group = projectGroup
|
||||
version = mathVersion
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
@ -4,12 +4,6 @@ plugins {
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
val networkingVersion: String by project
|
||||
val projectGroup: String by project
|
||||
|
||||
group = projectGroup
|
||||
version = networkingVersion
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user