blob: 7f4e4d4279c965fe7c4cab5be3a57911f77e3c45 [file] [log] [blame]
Rico Wind143c0e22025-02-19 11:38:31 +01001// Copyright (c) 2025, the R8 project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5plugins {
6 `kotlin-dsl`
7 id("dependencies-plugin")
8}
9
10dependencies {
11 compileOnly(":keepanno")
12}
13
14java {
15 sourceSets.main.configure {
16 java.srcDir(getRoot().resolveAll("src", "assistant", "java"))
17 }
18 sourceCompatibility = JvmCompatibility.sourceCompatibility
19 targetCompatibility = JvmCompatibility.targetCompatibility
20 toolchain {
21 languageVersion = JavaLanguageVersion.of(JvmCompatibility.release)
22 }
23 withSourcesJar()
24}
25
26tasks.withType<Jar> {
27 destinationDirectory.set(getRoot().resolveAll("build", "libs"))
28 archiveFileName.set("assistant.jar")
29}