-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_gradle.bat
33 lines (29 loc) · 1.07 KB
/
setup_gradle.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
echo Creating build.gradle.kts...
echo.> build.gradle.kts
echo import org.jetbrains.kotlin.gradle.tasks.KotlinCompile>> build.gradle.kts
echo.>> build.gradle.kts
echo plugins {>> build.gradle.kts
echo kotlin("jvm") version "1.8.0">> build.gradle.kts
echo application>> build.gradle.kts
echo }>> build.gradle.kts
echo.>> build.gradle.kts
echo repositories {>> build.gradle.kts
echo mavenCentral()>> build.gradle.kts
echo }>> build.gradle.kts
echo.>> build.gradle.kts
echo dependencies {>> build.gradle.kts
echo implementation(kotlin("stdlib"))>> build.gradle.kts
echo }>> build.gradle.kts
echo.>> build.gradle.kts
echo application {>> build.gradle.kts
echo mainClass.set("MainKt")>> build.gradle.kts
echo }>> build.gradle.kts
echo.>> build.gradle.kts
echo tasks.withType<KotlinCompile> {>> build.gradle.kts
echo kotlinOptions.jvmTarget = "1.8">> build.gradle.kts
echo }>> build.gradle.kts
echo Creating settings.gradle.kts...
echo.> settings.gradle.kts
echo rootProject.name = "UzbekLang">> settings.gradle.kts
echo Gradle setup files have been created.