Skip to content

Commit 883e2be

Browse files
authored
Merge pull request #17 from Leifzhang/develop
[feat] 工程结构优化调整
2 parents 3f70efb + 7783595 commit 883e2be

File tree

9 files changed

+20
-10
lines changed

9 files changed

+20
-10
lines changed

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ buildscript {
1414
}
1515
}
1616

17+
1718
allprojects {
1819
repositories {
1920
maven { setUrl("https://maven.aliyun.com/repository/central/") }
@@ -44,8 +45,6 @@ allprojects {
4445
}
4546
}
4647

47-
48-
4948
group = "com.kronos.startup"
5049
}
5150

sample-sdk/network-sdk-demo/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id("com.android.library")
33
id("org.jetbrains.kotlin.android")
4-
id("com.google.devtools.ksp") version "1.5.30-1.0.0"
4+
id("com.google.devtools.ksp")
55
}
66

77
android {

sample-sdk/report-sdk-demo/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id("com.android.library")
33
id("org.jetbrains.kotlin.android")
44
id("kotlin-kapt")
5-
id("com.google.devtools.ksp") version "1.5.30-1.0.0"
5+
id("com.google.devtools.ksp")
66
}
77

88
android {

sample/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
2-
id 'com.android.application'
3-
id 'kotlin-android'
4-
id("com.google.devtools.ksp") version "1.5.30-1.0.0"
2+
id("com.android.application")
3+
id('kotlin-android')
4+
id("com.google.devtools.ksp")
55
}
66

77
android {
@@ -46,7 +46,7 @@ dependencies {
4646
implementation 'androidx.appcompat:appcompat:1.4.0'
4747
implementation 'com.google.android.material:material:1.4.0'
4848
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
49-
implementation ("io.insert-koin:koin-android:3.1.5")
49+
implementation("io.insert-koin:koin-android:3.1.5")
5050
/* implementation('com.github.kirich1409:viewbindingpropertydelegate-noreflection:1.5.2') {
5151
transitive = false
5252
}*/

settings.gradle.kts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
pluginManagement {
2+
23
repositories {
3-
gradlePluginPortal()
44
google()
5+
maven { setUrl("https://maven.aliyun.com/repository/central/") }
6+
gradlePluginPortal()
57
maven { setUrl("https://dl.bintray.com/kotlin/kotlin-eap") }
68
}
9+
10+
plugins {
11+
id("com.google.devtools.ksp") version ("1.5.30-1.0.0") apply (false)
12+
13+
}
714
}
815

916
include(":startup")

startup-annotation/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
plugins {
22
id 'java-library'
33
id 'kotlin'
4+
id("maven-publish")
45
}

startup-dag-view/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id 'com.android.library'
33
id 'kotlin-android'
44
id 'kotlin-kapt'
5+
id("maven-publish")
56
}
67

78
android {

startup-ksp-compiler/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import org.jetbrains.kotlin.gradle.plugin.getKotlinPluginVersion
22

33
plugins {
44
kotlin("jvm")
5-
id("com.google.devtools.ksp") version "1.5.30-1.0.0"
5+
id("maven-publish")
6+
id("com.google.devtools.ksp")
67
}
78
dependencies {
89
val kotlinVersion = getKotlinPluginVersion()

startup/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'com.android.library'
33
id 'kotlin-android'
4+
id("maven-publish")
45
}
56
apply from: "../gradle/jitpack.gradle"
67

0 commit comments

Comments
 (0)