Skip to content

Commit 00f4e9a

Browse files
committed
updating
1 parent 2c848db commit 00f4e9a

2 files changed

Lines changed: 16 additions & 80 deletions

File tree

appintro/build.gradle

Lines changed: 15 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,46 @@
11
apply plugin: 'com.android.library'
2-
apply plugin: 'kotlin-android'
3-
apply plugin: 'maven-publish'
42
apply plugin: 'io.gitlab.arturbosch.detekt'
5-
apply plugin: 'org.jlleitschuh.gradle.ktlint'
3+
//apply plugin: 'org.jlleitschuh.gradle.ktlint'
64

75
group = 'com.github.AppIntro'
86

97
version = "6.2.0"
108

119
android {
12-
compileSdkVersion 31
10+
compileSdk 34
1311

1412
defaultConfig {
15-
minSdkVersion 14
16-
targetSdkVersion 31
17-
versionCode 20
18-
versionName version
13+
minSdkVersion 21
14+
targetSdkVersion 34
1915

2016
consumerProguardFiles 'consumer-proguard-rules.pro'
2117
vectorDrawables.useSupportLibrary = true
2218
}
23-
lintOptions {
19+
compileOptions {
20+
sourceCompatibility 1.8
21+
targetCompatibility 1.8
22+
}
23+
namespace 'com.github.appintro'
24+
lint {
25+
abortOnError true
2426
ignore 'MissingTranslation', 'OldTargetApi', 'GradleDependency'
2527
warningsAsErrors true
26-
abortOnError true
27-
}
28-
compileOptions {
29-
sourceCompatibility = JavaVersion.VERSION_1_8
30-
targetCompatibility = JavaVersion.VERSION_1_8
3128
}
3229
}
3330

3431
dependencies {
35-
implementation 'androidx.appcompat:appcompat:1.4.0'
36-
implementation 'androidx.annotation:annotation:1.3.0'
37-
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
32+
implementation 'androidx.appcompat:appcompat:1.7.0'
33+
implementation 'androidx.annotation:annotation:1.8.2'
34+
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
3835

3936
testImplementation 'junit:junit:4.13.2'
40-
testImplementation 'org.mockito:mockito-core:3.11.2'
37+
testImplementation 'org.mockito:mockito-core:5.12.0'
4138
}
4239

4340
repositories {
4441
mavenCentral()
4542
}
4643

47-
ktlint {
48-
version = "0.42.1"
49-
debug = false
50-
verbose = true
51-
android = false
52-
outputToConsole = true
53-
reporters {
54-
reporter "json"
55-
}
56-
ignoreFailures = false
57-
enableExperimentalRules = true
58-
kotlinScriptAdditionalPaths {
59-
include fileTree("scripts/")
60-
}
61-
filter {
62-
exclude("**/generated/**")
63-
include("**/kotlin/**")
64-
}
65-
}
66-
6744
detekt {
6845
config = files("./detekt-config.yml")
6946
input = files("src/main/java")
@@ -79,43 +56,3 @@ task sourcesJar(type: Jar) {
7956
}
8057

8158
artifacts.archives(sourcesJar)
82-
83-
afterEvaluate {
84-
publishing {
85-
publications {
86-
release(MavenPublication) {
87-
from components.release
88-
artifact sourcesJar
89-
artifactId = project.name
90-
pom {
91-
name = POM_NAME
92-
description = POM_DESCRIPTION
93-
url = POM_URL
94-
licenses {
95-
license {
96-
name = POM_LICENSE_NAME
97-
url = POM_LICENSE_URL
98-
}
99-
}
100-
scm {
101-
connection = POM_SCM_CONNECTION
102-
developerConnection = POM_SCM_CONNECTION
103-
url = POM_URL
104-
}
105-
developers {
106-
developer {
107-
id = 'paolorotolo'
108-
name = 'Paolo Rotolo'
109-
email = 'paolo@rotolo.dev'
110-
}
111-
developer {
112-
id = 'cortinico'
113-
name = 'Nicola Corti'
114-
email = 'corti.nico@gmail.com'
115-
}
116-
}
117-
}
118-
}
119-
}
120-
}
121-
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<manifest
2-
package="com.github.appintro">
1+
<manifest>
32
<application />
43
</manifest>

0 commit comments

Comments
 (0)