[updater] adding a Gradle project

GitOrigin-RevId: d14de6de36aacb74c7b3074c251ac49b46f9bacc
This commit is contained in:
Roman Shevchenko
2023-12-06 21:52:26 +01:00
committed by intellij-monorepo-bot
parent bf010987de
commit a1110ab66e
3 changed files with 36 additions and 0 deletions

3
updater/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
/.idea/
/.gradle/
/build/

31
updater/build.gradle.kts Normal file
View File

@@ -0,0 +1,31 @@
plugins {
java
}
repositories {
mavenCentral()
}
sourceSets.main {
java.setSrcDirs(listOf("src"))
resources.setSrcDirs(listOf("resources"))
}
sourceSets.test {
java.setSrcDirs(listOf("testSrc"))
}
dependencies {
implementation("org.jetbrains:annotations:24.0.0")
implementation("net.java.dev.jna:jna-platform:5.13.0")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.0")
testImplementation("org.assertj:assertj-core:3.24.2")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
java {
sourceCompatibility = JavaVersion.VERSION_11
}
tasks.test {
useJUnitPlatform()
}

View File

@@ -0,0 +1,2 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
rootProject.name = "updater"