Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup + move some common functionality from platform build scripts into this plugin #161

Open
wants to merge 33 commits into
base: v1.x
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
92eaf17
upgrade Gradle to 8.10.2
alexanderpann Sep 27, 2024
8821c8f
update Kotlin to 1.9.24 and API version to 1.8
alexanderpann Sep 27, 2024
2a6ba42
update the Kotlin DSL to 4.5.0
alexanderpann Sep 27, 2024
143fbe4
update binary-compatibility-validator to 0.14.0
alexanderpann Sep 27, 2024
c1df9c2
set de.itemis.mps.build-backends:launcher to 2.5+
alexanderpann Sep 27, 2024
d5e9faa
update net.swiftzer.semver:semver to 2.0.0
alexanderpann Sep 27, 2024
d3c6d1c
update org.jetbrains.kotlinx.binary-compatibility-validator to 0.16.3
alexanderpann Sep 27, 2024
46e8ad3
add an extension for setting the CI flag
alexanderpann Sep 28, 2024
90f0769
add a class for representing an MPS version
alexanderpann Sep 28, 2024
b8fcba5
add an extension for determining the JDK
alexanderpann Sep 28, 2024
2afc0d6
add an extension with links for the mbeddr github and itemis nexus re…
alexanderpann Sep 28, 2024
1b8afc3
create the mps, languageLibs and antLib configuration automatically
alexanderpann Sep 28, 2024
444eb9a
set MPS home dir and create the resolveMPS task
alexanderpann Sep 28, 2024
8100dbb
apply plugin base and create a cleanMPS task
alexanderpann Sep 28, 2024
e2a59d5
provide an extension for the GitHub user and token
alexanderpann Sep 28, 2024
b003355
provide a method ci.buildNumber()
alexanderpann Sep 28, 2024
6abf67e
provide a method ci.registerDependencyRepositories()
alexanderpann Sep 28, 2024
c71b49a
provide MPSVersion#toMavenSnapshot
alexanderpann Sep 28, 2024
7f4a48e
improve GitBasedVersioning
alexanderpann Sep 28, 2024
96f8cb5
create a directories extension
alexanderpann Sep 28, 2024
9cff748
hardcode MPS versions
alexanderpann Sep 28, 2024
ece5bb3
enable the option to make the downloaded JBR the default java executable
alexanderpann Sep 28, 2024
420c222
convert a few classes to Kotlin
alexanderpann Sep 28, 2024
ada92cd
update the base version
alexanderpann Sep 28, 2024
f8b8ff7
extract some more version strings to gradle.properties
alexanderpann Sep 28, 2024
212d7e1
fix a NullPointerException
alexanderpann Sep 28, 2024
9224b79
rename some configurations and tasks to avoid redefinitions
alexanderpann Sep 28, 2024
4f9f139
use SemVersion as the internal structure for MPSVersion
alexanderpann Sep 28, 2024
44e99f1
fix the GetMpsInBrowser task
alexanderpann Sep 28, 2024
e4d868c
runmigrations: use the MPSVersion wrapper class
alexanderpann Sep 29, 2024
fb3b5d4
update documentation/changelog + fix a wrong task name
alexanderpann Sep 29, 2024
f1d5f21
fix warnings
alexanderpann Sep 29, 2024
a78e9e9
fix some small issues
alexanderpann Sep 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
extract some more version strings to gradle.properties
  • Loading branch information
alexanderpann committed Sep 29, 2024
commit f8b8ff7717ccf15dfa25184433044ea1e6777b2b
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -17,10 +17,10 @@ val kotlinVersion: String by project
plugins {
groovy
`java-gradle-plugin`
`kotlin-dsl` version "4.5.0"
`kotlin-dsl`
`maven-publish`
kotlin("jvm")
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.16.3"
id("org.jetbrains.kotlinx.binary-compatibility-validator")
}

val baseVersion = "1.29.0"
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
kotlinApiVersion=1.8
kotlinVersion=1.9.24
kotlinVersion=1.9.24
kotlinDSLVersion=4.5.0
binaryCompatibilityValidator=0.16.3
7 changes: 6 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -2,8 +2,13 @@ pluginManagement {
includeBuild("git-based-versioning")

val kotlinVersion: String by settings
val kotlinDSLVersion: String by settings
val binaryCompatibilityValidator: String by settings

plugins {
kotlin("jvm") version "$kotlinVersion"
kotlin("jvm") version kotlinVersion
`kotlin-dsl` version kotlinDSLVersion
id("org.jetbrains.kotlinx.binary-compatibility-validator") version binaryCompatibilityValidator
}
}