diff --git a/.gitignore b/.gitignore index aa724b7..d79d0f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,11 @@ *.iml .gradle /local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml +/.idea .DS_Store /build /captures .externalNativeBuild .cxx local.properties +app/build diff --git a/app/build.gradle.kts b/app/build.gradle.kts deleted file mode 100644 index 707d4ee..0000000 --- a/app/build.gradle.kts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - * - * This generated file contains a sample Kotlin application project to get you started. - * For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle - * User Manual available at https://docs.gradle.org/6.8.2/userguide/building_java_projects.html - */ - -plugins { - // Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin. - id("org.jetbrains.kotlin.jvm") version "1.4.20" - - // Apply the application plugin to add support for building a CLI application in Java. - application -} - -repositories { - // Use JCenter for resolving dependencies. - jcenter() -} - -dependencies { - // Align versions of all Kotlin components - implementation(platform("org.jetbrains.kotlin:kotlin-bom")) - - // Use the Kotlin JDK 8 standard library. - implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") - - // This dependency is used by the application. - implementation("com.google.guava:guava:29.0-jre") - - // Use the Kotlin test library. - testImplementation("org.jetbrains.kotlin:kotlin-test") - - // Use the Kotlin JUnit integration. - testImplementation("org.jetbrains.kotlin:kotlin-test-junit") -} - -application { - // Define the main class for the application. - mainClass.set("CA_Contest.AppKt") -} diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..6603e52 --- /dev/null +++ b/build.gradle @@ -0,0 +1,23 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. +buildscript { + ext.kotlin_version = "1.4.21" + repositories { + google() + jcenter() + } + dependencies { + classpath "com.android.tools.build:gradle:4.1.1" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + // NOTE: Do not place your application dependencies here; they belong + // in the individual module build.gradle files + } +} +allprojects { + repositories { + google() + jcenter() + } +} +task clean(type: Delete) { + delete rootProject.buildDir +} \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts deleted file mode 100644 index 4d6bc95..0000000 --- a/settings.gradle.kts +++ /dev/null @@ -1,11 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - * - * The settings file is used to specify which projects to include in your build. - * - * Detailed information about configuring a multi-project build in Gradle can be found - * in the user manual at https://docs.gradle.org/6.8.2/userguide/multi_project_builds.html - */ - -rootProject.name = "CA_Contest" -include("app")