[Git][java-team/kotlinx-coroutines][master] Build with the default JDK instead of OpenJDK 8

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Thu Feb 2 21:31:46 GMT 2023



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / kotlinx-coroutines


Commits:
d26f9a78 by Emmanuel Bourg at 2023-02-02T22:31:28+01:00
Build with the default JDK instead of OpenJDK 8

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+kotlinx-coroutines (1.0.1-2) unstable; urgency=medium
+
+  * Build with the default JDK instead of OpenJDK 8
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Thu, 02 Feb 2023 22:31:17 +0100
+
 kotlinx-coroutines (1.0.1-1) unstable; urgency=medium
 
   * Initial release (Closes: #1029546)


=====================================
debian/control
=====================================
@@ -6,11 +6,11 @@ Uploaders: Emmanuel Bourg <ebourg at apache.org>
 Build-Depends:
  ant,
  debhelper-compat (= 13),
+ default-jdk,
  gradle-debian-helper,
  kotlin,
  libkotlinx-atomicfu-java,
- maven-repo-helper,
- openjdk-8-jdk-headless
+ maven-repo-helper
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/java-team/kotlinx-coroutines
 Vcs-Git: https://salsa.debian.org/java-team/kotlinx-coroutines.git


=====================================
debian/rules
=====================================
@@ -3,16 +3,16 @@
 %:
 	dh $@ --buildsystem=gradle --with maven-repo-helper --no-parallel
 
+export JDK_16=/usr/lib/jvm/default-java/
+
 override_dh_auto_build:
-	-JDK_16=/usr/lib/jvm/java-8-openjdk-amd64/ \
-	dh_auto_build -- \
+	-dh_auto_build -- \
 	    -Dkotlin.compiler.execution.strategy=in-process \
 	    -Pkotlin_version=1.3.31 \
 	    -PatomicFU_version=0.11.12 \
 	    -Pversion=1.0.1 \
 	    install
 
-	JDK_16=/usr/lib/jvm/java-8-openjdk-amd64/ \
 	dh_auto_build -- \
 	    -Dkotlin.compiler.execution.strategy=in-process \
 	    -Pkotlin_version=1.3.31 \



View it on GitLab: https://salsa.debian.org/java-team/kotlinx-coroutines/-/commit/d26f9a783718eb904114553c205d456bc9817ed9

-- 
View it on GitLab: https://salsa.debian.org/java-team/kotlinx-coroutines/-/commit/d26f9a783718eb904114553c205d456bc9817ed9
You're receiving this email because of your account on salsa.debian.org.


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


More information about the pkg-java-commits mailing list