mirror of
https://github.com/kiwix/java-libkiwix.git
synced 2025-09-11 16:16:47 -04:00
Reorganize structure.
This mainly do: - move `src/wrapper/java` into `lib/src` (and remove `src/wrapper`) - create `lib/src/cpp` and move all `*.(cpp|h)` in it - move all gradle stuff in `android-kiwix-lib-publisher` into `.` - remove `android-kiwix-lib-publisher`
This commit is contained in:
parent
215237d3a6
commit
4cafa3dc57
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.gradle
|
||||||
|
local.properties
|
||||||
|
build
|
13
android-kiwix-lib-publisher/.gitignore
vendored
13
android-kiwix-lib-publisher/.gitignore
vendored
@ -1,13 +0,0 @@
|
|||||||
*.iml
|
|
||||||
.gradle
|
|
||||||
/local.properties
|
|
||||||
/.idea/caches
|
|
||||||
/.idea/libraries
|
|
||||||
/.idea/modules.xml
|
|
||||||
/.idea/workspace.xml
|
|
||||||
/.idea/navEditor.xml
|
|
||||||
/.idea/assetWizardSettings.xml
|
|
||||||
.DS_Store
|
|
||||||
/build
|
|
||||||
/captures
|
|
||||||
.externalNativeBuild
|
|
@ -1 +0,0 @@
|
|||||||
/build
|
|
@ -1,64 +0,0 @@
|
|||||||
apply plugin: 'com.android.library'
|
|
||||||
apply plugin: 'maven'
|
|
||||||
|
|
||||||
android {
|
|
||||||
compileSdkVersion 28
|
|
||||||
defaultConfig {
|
|
||||||
minSdkVersion 15
|
|
||||||
targetSdkVersion 28
|
|
||||||
versionCode 1
|
|
||||||
versionName "1.0"
|
|
||||||
}
|
|
||||||
buildTypes {
|
|
||||||
release {
|
|
||||||
minifyEnabled false
|
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
implementation 'com.getkeepsafe.relinker:relinker:1.3.1'
|
|
||||||
}
|
|
||||||
|
|
||||||
task writePom {
|
|
||||||
pom {
|
|
||||||
project {
|
|
||||||
groupId 'org.kiwix.kiwixlib'
|
|
||||||
artifactId 'kiwixlib'
|
|
||||||
version '10.1.1' + (System.env.KIWIXLIB_BUILDVERSION == null ? '' : '-'+System.env.KIWIXLIB_BUILDVERSION)
|
|
||||||
packaging 'aar'
|
|
||||||
name 'kiwixlib'
|
|
||||||
url 'https://github.com/kiwix/libkiwix'
|
|
||||||
licenses {
|
|
||||||
license {
|
|
||||||
name 'GPLv3'
|
|
||||||
url 'https://www.gnu.org/licenses/gpl-3.0.en.html'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
developers {
|
|
||||||
developer {
|
|
||||||
id 'kiwix'
|
|
||||||
name 'kiwix'
|
|
||||||
email 'contact@kiwix.org'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
scm {
|
|
||||||
connection 'https://github.com/kiwix/libkiwix.git'
|
|
||||||
developerConnection 'https://github.com/kiwix/libkiwix.git'
|
|
||||||
url 'https://github.com/kiwix/libkiwix'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}.withXml {
|
|
||||||
def dependenciesNode = asNode().appendNode('dependencies')
|
|
||||||
|
|
||||||
//Iterate over the implementation dependencies, adding a <dependency> node for each
|
|
||||||
configurations.implementation.allDependencies.each {
|
|
||||||
def dependencyNode = dependenciesNode.appendNode('dependency')
|
|
||||||
dependencyNode.appendNode('groupId', it.group)
|
|
||||||
dependencyNode.appendNode('artifactId', it.name)
|
|
||||||
dependencyNode.appendNode('version', it.version)
|
|
||||||
}
|
|
||||||
}.writeTo("$buildDir/pom.xml")
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
|||||||
# Add project specific ProGuard rules here.
|
|
||||||
# You can control the set of applied configuration files using the
|
|
||||||
# proguardFiles setting in build.gradle.
|
|
||||||
#
|
|
||||||
# For more details, see
|
|
||||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
||||||
|
|
||||||
# If your project uses WebView with JS, uncomment the following
|
|
||||||
# and specify the fully qualified class name to the JavaScript interface
|
|
||||||
# class:
|
|
||||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
||||||
# public *;
|
|
||||||
#}
|
|
||||||
|
|
||||||
# Uncomment this to preserve the line number information for
|
|
||||||
# debugging stack traces.
|
|
||||||
#-keepattributes SourceFile,LineNumberTable
|
|
||||||
|
|
||||||
# If you keep the line number information, uncomment this to
|
|
||||||
# hide the original source file name.
|
|
||||||
#-renamesourcefileattribute SourceFile
|
|
@ -1,10 +0,0 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
package="org.kiwix.kiwixlib">
|
|
||||||
|
|
||||||
<application
|
|
||||||
android:allowBackup="true"
|
|
||||||
android:supportsRtl="true">
|
|
||||||
|
|
||||||
</application>
|
|
||||||
|
|
||||||
</manifest>
|
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Loading…
x
Reference in New Issue
Block a user