[Git][java-team/gradle-kotlin-dsl][master] 4 commits: Converted debian/watch to the version 5 format

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Thu Oct 29 00:04:40 GMT 2026



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / gradle-kotlin-dsl


Commits:
6cdb7d3e by Emmanuel Bourg at 2026-10-28T12:28:37+01:00
Converted debian/watch to the version 5 format

- - - - -
6b46fa44 by Emmanuel Bourg at 2026-10-28T16:10:37+01:00
Tightened the dependencies on gradle and libgradle-core-java

- - - - -
9086a665 by Emmanuel Bourg at 2026-10-28T16:10:44+01:00
Load the provider plugins as an extension module as upstream does, the install task of the Gradle maven plugin failed with NoClassDefFoundError

- - - - -
90dfbd65 by Emmanuel Bourg at 2026-10-28T16:18:15+01:00
Upload to unstable

- - - - -


6 changed files:

- debian/changelog
- debian/control
- − debian/patches/10-gradle-4.7-compatibility.patch
- debian/patches/series
- debian/rules
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+gradle-kotlin-dsl (0.17.5-3) unstable; urgency=medium
+
+  * Converted debian/watch to the version 5 format
+  * Tightened the dependencies on gradle and libgradle-core-java
+  * Load the provider plugins as an extension module as upstream does, the
+    install task of the Gradle maven plugin failed with NoClassDefFoundError
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Wed, 28 Oct 2026 16:18:15 +0100
+
 gradle-kotlin-dsl (0.17.5-2) unstable; urgency=medium
 
   * Fixed the Kotlin DSL support with Gradle 4.7


=====================================
debian/control
=====================================
@@ -6,7 +6,7 @@ Uploaders: Emmanuel Bourg <ebourg at apache.org>
 Build-Depends:
  debhelper-compat (= 13),
  default-jdk,
- gradle (>= 4.7),
+ gradle (>= 4.8),
  kotlin,
  libatinject-jsr330-api-java,
  maven-repo-helper
@@ -17,7 +17,7 @@ Homepage: https://github.com/gradle/kotlin-dsl
 
 Package: libgradle-kotlin-dsl-java
 Architecture: all
-Depends: ${misc:Depends}, kotlin, libgradle-core-java (>= 4.7)
+Depends: ${misc:Depends}, kotlin, libgradle-core-java (>= 4.8)
 Description: Gradle Kotlin DSL
  The Gradle Kotlin DSL provides support for writing Gradle build scripts
  using JetBrains' Kotlin language. It aims to provide Gradle users with


=====================================
debian/patches/10-gradle-4.7-compatibility.patch deleted
=====================================
@@ -1,62 +0,0 @@
-Description: Keep the provider compatible with Gradle 4.7
- Gradle 4.8 adds a TextResourceLoader argument to DefaultFileOperations and an
- overload of DefaultClassPath.of() taking a single file. The patch can be
- removed once Gradle 4.8 is published.
-Author: Emmanuel Bourg <ebourg at apache.org>
-Forwarded: not-needed
---- a/provider/src/main/kotlin/org/gradle/kotlin/dsl/KotlinSettingsScript.kt
-+++ b/provider/src/main/kotlin/org/gradle/kotlin/dsl/KotlinSettingsScript.kt
-@@ -447,6 +447,5 @@
-         services.get<DirectoryFileTreeFactory>(),
-         services.get<StreamHasher>(),
-         services.get<FileHasher>(),
--        services.get<ExecFactory>(),
--        services.get<TextResourceLoader>())
-+        services.get<ExecFactory>())
- }
---- a/provider/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt
-+++ b/provider/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt
-@@ -80,8 +80,8 @@
-                     buildAccessorsJarFor(projectSchema, classPath, outputDir = baseDir)
-                 }
-         AccessorsClassPath(
--            DefaultClassPath.of(accessorsJar(cacheDir)),
--            DefaultClassPath.of(accessorsSourceDir(cacheDir)))
-+            DefaultClassPath.of(listOf(accessorsJar(cacheDir))),
-+            DefaultClassPath.of(listOf(accessorsSourceDir(cacheDir))))
-     }
- 
- 
---- a/provider/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptClassPathProvider.kt
-+++ b/provider/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptClassPathProvider.kt
-@@ -94,7 +94,7 @@
-      * Generated extensions to the Gradle API.
-      */
-     val gradleApiExtensions: ClassPath by lazy {
--        DefaultClassPath.of(gradleKotlinDslExtensions())
-+        DefaultClassPath.of(listOf(gradleKotlinDslExtensions()))
-     }
- 
-     /**
---- a/provider/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptClassloadingCache.kt
-+++ b/provider/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptClassloadingCache.kt
-@@ -100,7 +100,7 @@
-     private
-     fun classLoaderFor(location: File, scope: ClassLoaderScope) =
-         scope
--            .local(DefaultClassPath.of(location))
-+            .local(DefaultClassPath.of(listOf(location)))
-             .lock()
-             .localClassLoader
- 
---- a/tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt
-+++ b/tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt
-@@ -157,7 +157,7 @@
- fun precompiledScriptPluginModelBuilder(enclosingSourceSet: SourceSet, modelRequestProject: Project): KotlinScriptTargetModelBuilder =
-     KotlinScriptTargetModelBuilder(
-         project = modelRequestProject,
--        scriptClassPath = DefaultClassPath.of(enclosingSourceSet.compileClasspath))
-+        scriptClassPath = DefaultClassPath.of(enclosingSourceSet.compileClasspath.files))
- 
- 
- private


=====================================
debian/patches/series
=====================================
@@ -4,4 +4,3 @@
 07-fast-class-files-reading.patch
 08-ignore-blocks-text.patch
 09-nullable-uri.patch
-10-gradle-4.7-compatibility.patch


=====================================
debian/rules
=====================================
@@ -78,7 +78,7 @@ override_dh_auto_build:
 	cp -Rp provider/src/main/resources/* provider/target/classes
 	cp -Rp provider/src/generated/kotlin/*   provider/target/classes
 
-	printf 'projects=gradle-plugins\nruntime=annotations-13.0.jar,gradle-kotlin-dsl-tooling-models.jar,gradle-kotlin-dsl-provider-spi.jar,gradle-kotlin-dsl-provider-plugins.jar,kotlin-compiler-embeddable.jar,kotlin-scripting-compiler-embeddable.jar,kotlin-scripting-common.jar,kotlin-scripting-jvm.jar,kotlin-scripting-impl.jar,kotlin-reflect.jar,kotlin-sam-with-receiver-compiler-plugin.jar,kotlin-stdlib.jar,kotlin-stdlib-jdk7.jar,kotlin-stdlib-jdk8.jar,kotlin-script-runtime.jar,trove4j.jar' \
+	printf 'projects=\nruntime=annotations-13.0.jar,gradle-kotlin-dsl-tooling-models.jar,gradle-kotlin-dsl-provider-spi.jar,kotlin-compiler-embeddable.jar,kotlin-scripting-compiler-embeddable.jar,kotlin-scripting-common.jar,kotlin-scripting-jvm.jar,kotlin-scripting-impl.jar,kotlin-reflect.jar,kotlin-sam-with-receiver-compiler-plugin.jar,kotlin-stdlib.jar,kotlin-stdlib-jdk7.jar,kotlin-stdlib-jdk8.jar,kotlin-script-runtime.jar,trove4j.jar' \
 	    > provider/target/classes/gradle-kotlin-dsl-classpath.properties
 
 	jar cf provider/target/gradle-kotlin-dsl.jar -C provider/target/classes/ .
@@ -99,7 +99,7 @@ override_dh_auto_build:
 	cp -Rp provider-plugins/src/main/kotlin/* provider-plugins/target/classes
 	[ -d provider-plugins/src/main/resources ] && cp -Rp provider-plugins/src/main/resources/* provider-plugins/target/classes || true
 
-	printf 'projects=gradle-plugins\nruntime=gradle-kotlin-dsl-provider-spi.jar,kotlin-stdlib.jar,kotlin-stdlib-jdk7.jar,kotlin-stdlib-jdk8.jar' \
+	printf 'projects=\nruntime=gradle-kotlin-dsl-provider-spi.jar,kotlin-stdlib.jar,kotlin-stdlib-jdk7.jar,kotlin-stdlib-jdk8.jar' \
 	    > provider-plugins/target/classes/gradle-kotlin-dsl-provider-plugins-classpath.properties
 
 	jar cf provider-plugins/target/gradle-kotlin-dsl-provider-plugins.jar -C provider-plugins/target/classes .


=====================================
debian/watch
=====================================
@@ -1,3 +1,7 @@
-version=4
-opts="mode=git" \
-https://github.com/gradle/kotlin-dsl refs/tags/v([\d.]+)
+Version: 5
+Mode: git
+# The repository was renamed kotlin-dsl-samples, but its tags still carry the provider
+Source: https://github.com/gradle/kotlin-dsl-samples
+Matching-Pattern: refs/tags/v([\d.]+)
+Repack: yes
+Compression: xz



View it on GitLab: https://salsa.debian.org/java-team/gradle-kotlin-dsl/-/compare/6d35224d6d568766d3727848f1a0841fe500aef7...90dfbd65e5f6bace46d85ed3e900f07c5a68bf43

-- 
View it on GitLab: https://salsa.debian.org/java-team/gradle-kotlin-dsl/-/compare/6d35224d6d568766d3727848f1a0841fe500aef7...90dfbd65e5f6bace46d85ed3e900f07c5a68bf43
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261029/95123342/attachment.htm>


More information about the pkg-java-commits mailing list