EN · DE · RU · FR · ES

#11: build.gradle.kts

build.gradle.kts Gradle Kotlin DSL build script, build.gradle.kts 35 lines · 31 code · 0 comments · 4 blank
Purpose: Gradle build configuration: .. build.gradle.kts is part of the ProjectForge open-source project management application.

Source (first 100 lines)

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
    kotlin("jvm") version libs.versions.org.jetbrains.kotlin.get() apply false
}

allprojects {
    group = "org.projectforge"
    version = "8.2-SNAPSHOT" // Update version string here (nowhere else)

    repositories {
        mavenCentral()
        gradlePluginPortal() // Spring Boot Plugins are here.
        maven {
            url = uri("https://oss.sonatype.org/content/repositories/public/")
        }
        maven {
            url = uri("https://repo.maven.apache.org/maven2/")
        }
    }
}

allprojects {
    configurations.all {
        exclude(group = "org.slf4j", module = "slf4j-jul")
        exclude(group = "org.slf4j", module = "slf4j-log4j12")
        exclude(group = "com.sun.mail", module = "jakarta.mail")
        exclude(group = "jakarta.mail", module = "jakarta.mail-api")
        exclude(group = "org.apache.logging.log4j", module = "log4j-core")
        exclude(group = "commons-logging", module = "commons-logging")
        resolutionStrategy {
            preferProjectModules() // Prioritize local modules.
        }
    }
}

Git History

84347295f 8.2-SNAPSHOT
932b89a8d Release 8.1
943947aaa Addresses: support of gif and jpeg (also for carddav server). deprecated rest stuff (StorageClient, AddressDaoRest etc. removed).
010ea985f Release 8.0.
e21feaa61 Gradle games...

84347295f

8.2-SNAPSHOT
84347295f7069d2d4c4a8cd41a93a72d46891be7
diff --git a/build.gradle.kts b/build.gradle.kts
index 1dbe1dfe1..a608e8115 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -6,7 +6,7 @@ plugins {
 
 allprojects {
     group = "org.projectforge"
-    version = "8.1" // Update version string here (nowhere else)
+    version = "8.2-SNAPSHOT" // Update version string here (nowhere else)
 
     repositories {
         mavenCentral()

932b89a8d

Release 8.1
932b89a8d19cc11d12659d1a38cf3022b5b50b71
diff --git a/build.gradle.kts b/build.gradle.kts
index 640dad52a..1dbe1dfe1 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -6,7 +6,7 @@ plugins {
 
 allprojects {
     group = "org.projectforge"
-    version = "8.1-SNAPSHOT" // Update version string here (nowhere else)
+    version = "8.1" // Update version string here (nowhere else)
 
     repositories {
         mavenCentral()

943947aaa

Addresses: support of gif and jpeg (also for carddav server). deprecated rest stuff (StorageClient, AddressDaoRest etc. removed).
943947aaae8734b471ce0cc53f05f8493b67bb9c
diff --git a/build.gradle.kts b/build.gradle.kts
index de4787a01..640dad52a 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -6,7 +6,7 @@ plugins {
 
 allprojects {
     group = "org.projectforge"
-    version = "8.0" // Update version string here (nowhere else)
+    version = "8.1-SNAPSHOT" // Update version string here (nowhere else)
 
     repositories {
         mavenCentral()

010ea985f

Release 8.0.
010ea985fd4d3b8f5c33ada394abbb14ab6786bc
diff --git a/build.gradle.kts b/build.gradle.kts
index 99e85f69c..de4787a01 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -6,7 +6,7 @@ plugins {
 
 allprojects {
     group = "org.projectforge"
-    version = "8.0.0-SNAPSHOT"
+    version = "8.0" // Update version string here (nowhere else)
 
     repositories {
         mavenCentral()

e21feaa61

Gradle games...
e21feaa61e66e09b312b8dfd9fc870aa0a820cf9
diff --git a/build.gradle.kts b/build.gradle.kts
index 68c569458..99e85f69c 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -33,27 +33,3 @@ allprojects {
         }
     }
 }
-
-subprojects {
-    apply(plugin = "org.jetbrains.kotlin.jvm")
-    apply(plugin = "java")
-
-    configure<JavaPluginExtension> {
-        sourceCompatibility = JavaVersion.VERSION_17
-        targetCompatibility = JavaVersion.VERSION_17
-    }
-
-    tasks.withType<JavaCompile> {
-        options.isIncremental = true
-    }
-
-    tasks.withType<KotlinCompile> {
-        compilerOptions {
-            jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
-        }
-    }
-
-    tasks.withType<Test> {
-        useJUnitPlatform()
-    }
-}