File tree 4 files changed +33
-34
lines changed
4 files changed +33
-34
lines changed Original file line number Diff line number Diff line change 1
- apply plugin : ' com.android.library'
1
+ plugins {
2
+ id ' com.android.library'
3
+ id ' maven-publish'
4
+ }
2
5
3
6
android {
4
- compileSdkVersion 34
5
- buildToolsVersion " 34.0.0"
7
+ compileSdk 33
6
8
7
9
defaultConfig {
8
10
minSdkVersion 19
9
- targetSdkVersion 34
11
+ targetSdkVersion 33
10
12
11
13
testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
12
14
@@ -17,6 +19,19 @@ android {
17
19
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
18
20
}
19
21
}
22
+
23
+ compileOptions {
24
+ sourceCompatibility 17
25
+ targetCompatibility 17
26
+ }
27
+
28
+ publishing {
29
+ singleVariant(' release' ) {
30
+ withJavadocJar()
31
+ withSourcesJar()
32
+ }
33
+ }
34
+
20
35
namespace ' com.anychart'
21
36
}
22
37
@@ -28,27 +43,3 @@ dependencies {
28
43
implementation ' androidx.appcompat:appcompat:1.6.1'
29
44
testImplementation ' junit:junit:4.13.2'
30
45
}
31
-
32
- // build a jar with source files
33
- task sourcesJar (type : Jar ) {
34
- from android. sourceSets. main. java. srcDirs
35
- archiveClassifier = ' sources'
36
- }
37
-
38
- task javadoc (type : Javadoc ) {
39
- failOnError false
40
- source = android. sourceSets. main. java. sourceFiles
41
- classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
42
- classpath + = configurations. implementation
43
- }
44
-
45
- // build a jar with javadoc
46
- task javadocJar (type : Jar , dependsOn : javadoc) {
47
- archiveClassifier = ' javadoc'
48
- from javadoc. destinationDir
49
- }
50
-
51
- artifacts {
52
- archives sourcesJar
53
- archives javadocJar
54
- }
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ buildscript {
6
6
mavenCentral()
7
7
}
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:8.0.2'
10
- classpath ' com.github.dcendents:android-maven-gradle-plugin:2.0'
9
+ classpath ' com.android.tools.build:gradle:8.1.0'
11
10
12
11
// NOTE: Do not place your application dependencies here; they belong
13
12
// in the individual module build.gradle files
Original file line number Diff line number Diff line change
1
+ before_install :
2
+ - sdk install java 17.0.6-open
3
+ - sdk use java 17.0.6-open
4
+ jdk :
5
+ - openjdk17
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
3
3
android {
4
- compileSdkVersion 34
5
- buildToolsVersion " 34.0.0 "
4
+ compileSdk 33
5
+
6
6
defaultConfig {
7
7
applicationId " com.anychart.anychart"
8
8
minSdkVersion 19
9
- targetSdkVersion 34
9
+ targetSdkVersion 33
10
10
versionCode 8
11
11
versionName " 1.5"
12
12
multiDexEnabled true
@@ -28,6 +28,10 @@ android {
28
28
}
29
29
}
30
30
}
31
+ compileOptions {
32
+ sourceCompatibility 17
33
+ targetCompatibility 17
34
+ }
31
35
namespace ' com.anychart.sample'
32
36
}
33
37
@@ -39,7 +43,7 @@ dependencies {
39
43
implementation project(" :anychart" )
40
44
implementation ' androidx.appcompat:appcompat:1.6.1'
41
45
implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
42
- implementation ' androidx.recyclerview:recyclerview:1.3.0 '
46
+ implementation ' androidx.recyclerview:recyclerview:1.3.1 '
43
47
implementation ' androidx.cardview:cardview:1.0.0'
44
48
testImplementation ' junit:junit:4.13.2'
45
49
implementation ' androidx.annotation:annotation:1.6.0'
You can’t perform that action at this time.
0 commit comments