2022-10-27 21:00:29 +02:00
|
|
|
From 2c126682aaabd7f486dfb2ff75fe29b5d8697060 Mon Sep 17 00:00:00 2001
|
2022-02-26 12:49:48 +01:00
|
|
|
From: Maximilian Bosch <maximilian@mbosch.me>
|
|
|
|
Date: Sat, 26 Feb 2022 12:33:13 +0100
|
|
|
|
Subject: [PATCH] Fetch buildconfig during gradle build inside Nix FOD
|
|
|
|
|
|
|
|
---
|
2022-05-20 14:46:45 +02:00
|
|
|
build.gradle | 7 ++++++-
|
|
|
|
1 file changed, 6 insertions(+), 1 deletion(-)
|
2022-02-26 12:49:48 +01:00
|
|
|
|
|
|
|
diff --git a/build.gradle b/build.gradle
|
2022-10-27 21:00:29 +02:00
|
|
|
index 799e782..caceaac 100644
|
2022-02-26 12:49:48 +01:00
|
|
|
--- a/build.gradle
|
|
|
|
+++ b/build.gradle
|
2022-05-20 14:46:45 +02:00
|
|
|
@@ -83,6 +83,9 @@ static String getVersion() {
|
2022-02-26 12:49:48 +01:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven {url "https://gitlab.com/api/v4/groups/6853927/-/packages/maven"} // https://gitlab.com/groups/signald/-/packages
|
|
|
|
+ maven {
|
|
|
|
+ url "https://plugins.gradle.org/m2/"
|
|
|
|
+ }
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2022-05-20 14:46:45 +02:00
|
|
|
@@ -104,6 +107,8 @@ dependencies {
|
2022-10-27 21:00:29 +02:00
|
|
|
implementation 'io.prometheus:simpleclient_httpserver:0.16.0'
|
2022-02-26 12:49:48 +01:00
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3'
|
2022-10-27 21:00:29 +02:00
|
|
|
implementation 'io.sentry:sentry:6.4.0'
|
|
|
|
+ implementation 'com.github.gmazzo.buildconfig:com.github.gmazzo.buildconfig.gradle.plugin:3.1.0'
|
|
|
|
+ implementation 'org.jetbrains.kotlin:kotlin-scripting-jvm:1.7.10'
|
2022-02-26 12:49:48 +01:00
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
|
|
|
|
}
|
|
|
|
|
2022-05-20 14:46:45 +02:00
|
|
|
@@ -171,4 +176,4 @@ allprojects {
|
|
|
|
runtime {
|
|
|
|
options = ['--strip-java-debug-attributes', '--compress', '2', '--no-header-files', '--no-man-pages']
|
|
|
|
modules = ['java.base', 'java.management', 'java.naming', 'java.sql', 'java.xml', 'jdk.crypto.ec', 'jdk.httpserver', 'java.desktop', 'jdk.unsupported']
|
|
|
|
-}
|
|
|
|
\ No newline at end of file
|
|
|
|
+}
|
2022-02-26 12:49:48 +01:00
|
|
|
--
|
2022-10-27 21:00:29 +02:00
|
|
|
2.36.2
|
2022-02-26 12:49:48 +01:00
|
|
|
|