Don't specify different versions for modules

This commit is contained in:
DBotThePony 2024-02-03 16:31:18 +07:00
parent d02cdca524
commit 5a0f60f886
Signed by: DBot
GPG Key ID: DCC23B5715498507
10 changed files with 6 additions and 48 deletions

View File

@ -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 {

View File

@ -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()
}

View File

@ -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()
}

View File

@ -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

View File

@ -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()
}

View File

@ -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()
}

View File

@ -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()
}

View File

@ -3,11 +3,8 @@ plugins {
kotlin("jvm")
}
val linearAlgebraVersion: String by project
val specifyKotlinAsDependency: String by project
version = linearAlgebraVersion
repositories {
mavenCentral()
}

View File

@ -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()
}

View File

@ -4,12 +4,6 @@ plugins {
`maven-publish`
}
val networkingVersion: String by project
val projectGroup: String by project
group = projectGroup
version = networkingVersion
repositories {
mavenCentral()
}