HarshBarash

Untitled

May 18th, 2021
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.97 KB | None | 0 0
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3.     ext.kotlin_version = '1.5.0'
  4.  
  5.     repositories {
  6.         google()
  7.         jcenter()
  8.     }
  9.     dependencies {
  10.  
  11.         classpath "com.android.tools.build:gradle:4.1.3"
  12.  
  13.  
  14.         classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.0-rc01"
  15.  
  16.  
  17.         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  18.  
  19.         // NOTE: Do not place your application dependencies here; they belong
  20.         // in the individual module build.gradle files
  21.     }
  22. }
  23.  
  24. plugins {
  25.     id 'org.jetbrains.kotlin.jvm' version '1.5.0'
  26. }
  27.  
  28. allprojects {
  29.     repositories {
  30.         google()
  31.         jcenter()
  32.         mavenCentral ()
  33.     }
  34. }
  35.  
  36.  
  37. repositories {
  38.     mavenCentral()
  39. }
  40. dependencies {
  41.     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
  42. }
  43. compileKotlin {
  44.     kotlinOptions {
  45.         jvmTarget = "1.8"
  46.     }
  47. }
  48.  
Add Comment
Please, Sign In to add comment