|
1 | 1 | buildscript {
|
2 | 2 | repositories {
|
3 |
| - mavenLocal() |
4 | 3 | jcenter()
|
| 4 | + google() |
5 | 5 | mavenCentral()
|
| 6 | + mavenLocal() |
| 7 | + maven { url "https://plugins.gradle.org/m2/" } |
6 | 8 | }
|
7 | 9 |
|
8 | 10 | dependencies {
|
| 11 | + classpath 'com.android.tools.build:gradle:4.0.2' |
9 | 12 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
10 | 13 | classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
| 14 | + classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:$dexcount_version" |
| 15 | + classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version" |
11 | 16 | }
|
12 | 17 | }
|
13 | 18 |
|
14 |
| -plugins { |
15 |
| - id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version" |
16 |
| - id("org.jetbrains.compose") version "$compose_version" |
17 |
| -} |
18 |
| - |
19 |
| -apply plugin: 'kotlin' |
20 |
| - |
21 |
| -project.group = "com.insanusmokrassar" |
22 |
| - |
23 |
| -repositories { |
24 |
| - mavenLocal() |
25 |
| - jcenter() |
26 |
| - mavenCentral() |
27 |
| - maven { url "https://kotlin.bintray.com/kotlinx" } |
28 |
| - maven { url "https://maven.pkg.jetbrains.space/public/p/compose/dev" } |
29 |
| -} |
30 |
| - |
31 |
| -dependencies { |
32 |
| - implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" |
33 |
| - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version" |
34 |
| - implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlin_serialisation_runtime_version" |
35 |
| - implementation "dev.inmo:micro_utils.coroutines:$micro_utils_version" |
36 |
| - implementation(compose.desktop.currentOs) |
37 |
| - |
38 |
| - implementation "io.ktor:ktor-client:$ktor_version" |
39 |
| - implementation "io.ktor:ktor-client-cio:$ktor_version" |
40 |
| -} |
41 |
| - |
42 |
| -compose.desktop { |
43 |
| - application { |
44 |
| - mainClass = "com.insanusmokrassar.kmppscriptbuilder.BuilderKt" |
| 19 | +allprojects { |
| 20 | + repositories { |
| 21 | + mavenLocal() |
| 22 | + jcenter() |
| 23 | + mavenCentral() |
| 24 | + google() |
| 25 | + maven { url "https://kotlin.bintray.com/kotlinx" } |
| 26 | + maven { url "https://maven.pkg.jetbrains.space/public/p/compose/dev" } |
45 | 27 | }
|
46 | 28 | }
|
47 | 29 |
|
48 |
| -compileKotlin { |
49 |
| - kotlinOptions { |
50 |
| - jvmTarget = "11" |
51 |
| - useIR = true |
52 |
| - } |
53 |
| -} |
| 30 | +apply from: "./extensions.gradle" |
| 31 | +// apply from: "./github_release.gradle" |
0 commit comments