forked from thegrizzlylabs/sardine-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
6 changed files
with
57 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,66 @@ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
mavenCentral() | ||
google() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:4.1.3' | ||
classpath 'com.android.tools.build:gradle:8.2.2' | ||
} | ||
} | ||
|
||
repositories { | ||
jcenter() | ||
mavenCentral() | ||
google() | ||
} | ||
|
||
apply plugin: 'com.android.library' | ||
apply plugin: 'maven-publish' | ||
|
||
android { | ||
compileSdkVersion 30 | ||
compileSdk 34 | ||
|
||
defaultConfig { | ||
minSdkVersion 19 | ||
consumerProguardFiles 'proguard-rules.pro' | ||
} | ||
namespace "com.thegrizzlylabs.sardineandroid" | ||
|
||
def javaVersion = JavaVersion.VERSION_17 | ||
compileOptions { | ||
sourceCompatibility javaVersion | ||
targetCompatibility javaVersion | ||
} | ||
publishing { | ||
singleVariant("release") { | ||
withSourcesJar() | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
api 'com.squareup.okhttp3:okhttp:4.9.0' | ||
api 'com.squareup.okhttp3:okhttp:4.12.0' | ||
|
||
implementation ('org.simpleframework:simple-xml:2.7.1') { | ||
implementation('org.simpleframework:simple-xml:2.7.1') { | ||
exclude module: 'stax' | ||
exclude module: 'stax-api' | ||
exclude module: 'xpp3' | ||
} | ||
|
||
testImplementation 'junit:junit:4.13' | ||
testImplementation 'junit:junit:4.13.2' | ||
} | ||
//fixme uncomment this for print deprecation info | ||
//tasks.withType(JavaCompile) { | ||
// options.compilerArgs = | ||
// options.compilerArgs + ["-Xlint:deprecation", "-Xlint:unchecked"] | ||
//} | ||
afterEvaluate { | ||
publishing { | ||
publications { | ||
release(MavenPublication) { | ||
afterEvaluate { | ||
from components.release | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
jdk: | ||
- openjdk17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters